getShippingAddress() public méthode

Shipping address.
public getShippingAddress ( ) : ShippingAddress
Résultat ShippingAddress
Exemple #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");
 }
 public function testGetterSetters()
 {
     $items = $this->items->getItems();
     $this->assertEquals(ItemTest::createItem(), $items[0]);
     $this->assertEquals(ShippingAddressTest::getObject(), $this->items->getShippingAddress());
 }