PayPal\Api\ShippingAddress::getRecipientName PHP 메소드

getRecipientName() 공개 메소드

Name of the recipient at this address.
public getRecipientName ( ) : string
리턴 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);
 }