���� JFIF �� � ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /var/www/html/luckymerchan/vendor/phpjuice/paypal-checkout-sdk/src/Orders/ |
<?php namespace PayPal\Checkout\Orders; use PayPal\Checkout\Concerns\CastsToJson; use PayPal\Checkout\Contracts\Arrayable; use PayPal\Checkout\Contracts\Jsonable; /** * https://developer.paypal.com/docs/api/orders/v2/#definition-payee. */ class Payee implements Arrayable, Jsonable { use CastsToJson; /** * The email address of merchant. * * @var string */ protected string $email_address; /** * The encrypted PayPal account ID of the merchant. * * @var string */ protected string $merchant_id; /** * create a new payee instance. */ public function __construct(string $email_address, string $merchant_id) { $this->email_address = $email_address; $this->merchant_id = $merchant_id; } /** * create a new payee instance. */ public static function create(string $email_address, string $merchant_id): Payee { return new self($email_address, $merchant_id); } /** * Get the instance as an array. */ public function toArray(): array { return [ 'email_address' => $this->getEmailAddress(), 'merchant_id' => $this->getMerchantId(), ]; } /** * Gets payee email address. */ public function getEmailAddress(): string { return $this->email_address; } /** * Sets payee email address. */ public function setEmailAddress(string $email_address): self { $this->email_address = $email_address; return $this; } /** * Gets merchant id. */ public function getMerchantId(): ?string { return $this->merchant_id; } /** * Sets payee merchant id. */ public function setMerchantId(string $merchant_id): self { $this->merchant_id = $merchant_id; return $this; } }