PayPal\Api\ItemList::getShippingAddress PHP Method

getShippingAddress() public method

Shipping address.
public getShippingAddress ( ) : ShippingAddress
return ShippingAddress
    public function getShippingAddress()
    {
        return $this->shipping_address;
    }

Usage Example

Example #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");
 }
All Usage Examples Of PayPal\Api\ItemList::getShippingAddress