getShippingPhoneNumber() public method

Allows merchant's to share payer’s contact number with PayPal for the current payment. Final contact number of payer associated with the transaction might be same as shipping_phone_number or different based on Payer’s action on PayPal. The phone number must be represented in its canonical international format, as defined by the E.164 numbering plan
public getShippingPhoneNumber ( ) : string
return string
Beispiel #1
0
 /**
  * @depends testSerializationDeserialization
  * @param ItemList $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getItems(), ItemTest::getObject());
     $this->assertEquals($obj->getShippingAddress(), ShippingAddressTest::getObject());
     $this->assertEquals($obj->getShippingMethod(), "TestSample");
     $this->assertEquals($obj->getShippingPhoneNumber(), "TestSample");
 }