public function getAddressInfo()
    {
        $address = new Address();

        $address->setAddress($this->getAddress());
        $address->setPostalCode($this->getPostalCode());
        $address->setCity($this->getCity());
        if(!is_null($this->getState()))$address->setState($this->getState());
        $address->setCountry($this->getCountry());

        return $address;
    }
public function getAddressInfo()
    {
        $address = new Address();

        $address->setAddress($this->getAddress());
        $address->setPostalCode($this->getPostalCode());
        $address->setCity($this->getCity());
        if(!is_null($this->getState()))$address->setState($this->getState());
        $address->setCountry($this->getCountry());

        return $address;
    }
public function getAddressInfo ( ) { $ address = new Address ( ) ; $ address -> setAddress ( $ this -> getAddress ( ) ) ; $ address -> setPostalCode ( $ this -> getPostalCode ( ) ) ; $ address -> setCity ( $ this -> getCity ( ) ) ; if ( ! is_null ( $ this -> getState ( ) ) ) $ address -> setState ( $ this -> getState ( ) ) ; $ address -> setCountry ( $ this -> getCountry ( ) ) ; return $ address ; }
Get address information

@return Address
Get address information