PayPal\Api\ShippingAddress::getRecipientName PHP Method

getRecipientName() public method

Name of the recipient at this address.
public getRecipientName ( ) : string
return string
    public function getRecipientName()
    {
        return $this->recipient_name;
    }

Usage Example

コード例 #1
0
 /**
  * @depends testSerializationDeserialization
  * @param ShippingAddress $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getId(), "TestSample");
     $this->assertEquals($obj->getRecipientName(), "TestSample");
     $this->assertEquals($obj->getDefaultAddress(), true);
 }