forked from LiveCarta/PayPal-PHP-SDK
38 lines
676 B
PHP
38 lines
676 B
PHP
<?php
|
|
namespace PayPal\Api;
|
|
|
|
|
|
class ShippingAddress extends Address {
|
|
/**
|
|
* Name of the recipient at this address.
|
|
* @param string $recipient_name
|
|
*/
|
|
public function setRecipientName($recipient_name) {
|
|
$this->recipient_name = $recipient_name;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Name of the recipient at this address.
|
|
* @return string
|
|
*/
|
|
public function getRecipientName() {
|
|
return $this->recipient_name;
|
|
}
|
|
|
|
/**
|
|
* Deprecated method
|
|
*/
|
|
public function setRecipient_name($recipient_name) {
|
|
$this->recipient_name = $recipient_name;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Deprecated method
|
|
*/
|
|
public function getRecipient_name() {
|
|
return $this->recipient_name;
|
|
}
|
|
|
|
}
|