![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mcoil.corals.io/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ |
<?php namespace PayPal\Api; /** * Class ShippingAddress * * Extended Address object used as shipping address in a payment. * * @package PayPal\Api * * @property string id * @property string recipient_name * @property bool default_address * @property bool preferred_address */ class ShippingAddress extends Address { /** * Address ID assigned in PayPal system. * * @param string $id * * @return $this */ public function setId($id) { $this->id = $id; return $this; } /** * Address ID assigned in PayPal system. * * @return string */ public function getId() { return $this->id; } /** * 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; } /** * Name of the recipient at this address. * * @return string */ public function getRecipientName() { return $this->recipient_name; } /** * Default shipping address of the Payer. * * @param bool $default_address * * @return $this */ public function setDefaultAddress($default_address) { $this->default_address = $default_address; return $this; } /** * Default shipping address of the Payer. * * @return bool */ public function getDefaultAddress() { return $this->default_address; } /** * Shipping Address marked as preferred by Payer. * * @param bool $preferred_address * * @return $this */ public function setPreferredAddress($preferred_address) { $this->preferred_address = $preferred_address; return $this; } /** * Shipping Address marked as preferred by Payer. * * @return bool */ public function getPreferredAddress() { return $this->preferred_address; } }