PayPal\Api\ShippingAddress::setRecipientName PHP Method

setRecipientName() public method

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

Usage Example

コード例 #1
0
 public static function createAddress()
 {
     $addr = new ShippingAddress();
     $addr->setLine1(self::$line1);
     $addr->setLine2(self::$line2);
     $addr->setCity(self::$city);
     $addr->setState(self::$state);
     $addr->setPostalCode(self::$postalCode);
     $addr->setCountryCode(self::$countryCode);
     $addr->setPhone(self::$phone);
     $addr->setRecipientName(self::$recipientName);
     return $addr;
 }
All Usage Examples Of PayPal\Api\ShippingAddress::setRecipientName