EcommerceBundle/Entity/CheckoutAddressable.php
public function setDeliveryAddressInfo(Address $address)
    {
        $this->setDeliveryAddress($address->getAddress());
        $this->setDeliveryPostalCode($address->getPostalCode());
        $this->setDeliveryCity($address->getCity());
        $this->setDeliveryState($address->getState());
        $this->setDeliveryCountry($address->getCountry());
    }
public function setDeliveryAddressInfo(Address $address)
    {
        $this->setDeliveryAddress($address->getAddress());
        $this->setDeliveryPostalCode($address->getPostalCode());
        $this->setDeliveryCity($address->getCity());
        $this->setDeliveryState($address->getState());
        $this->setDeliveryCountry($address->getCountry());
    }
public function setDeliveryAddressInfo ( Address $ address ) { $ this -> setDeliveryAddress ( $ address -> getAddress ( ) ) ; $ this -> setDeliveryPostalCode ( $ address -> getPostalCode ( ) ) ; $ this -> setDeliveryCity ( $ address -> getCity ( ) ) ; $ this -> setDeliveryState ( $ address -> getState ( ) ) ; $ this -> setDeliveryCountry ( $ address -> getCountry ( ) ) ; }
Set delivery address information

@param Address $address
Set delivery address information