This repository has been archived on 2026-04-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
PayPal-PHP-SDK/lib/PayPal/Api/ShippingAddress.php

70 lines
1.2 KiB
PHP

<?php
namespace PayPal\Api;
use PayPal\Common\PPModel;
/**
* Class ShippingAddress
*
* @property string recipient_name
*/
class ShippingAddress extends Address
{
/**
* Set Recipient Name
* Name of the recipient at this address
*
* @param string $recipient_name
*
* @return $this
*/
public function setRecipientName($recipient_name)
{
$this->recipient_name = $recipient_name;
return $this;
}
/**
* Get Recipient Name
* Name of the recipient at this address
*
* @return string
*/
public function getRecipientName()
{
return $this->recipient_name;
}
/**
* Set Recipient Name
* Name of the recipient at this address
*
* @param string $recipient_name
*
* @deprecated Use setRecipientName
*
* @return $this
*/
public function setRecipient_name($recipient_name)
{
$this->recipient_name = $recipient_name;
return $this;
}
/**
* Get Recipient Name
* Name of the recipient at this address
*
* @deprecated Use getRecipientName
*
* @return string
*/
public function getRecipient_name()
{
return $this->recipient_name;
}
}