. */ /* */ /*************************************************************************************/ namespace PayPal\Event; use PayPal\Model\PaypalCustomer; use Thelia\Core\Event\ActionEvent; /** * Class PayPalCustomerEvent * @package PayPal\Event */ class PayPalCustomerEvent extends ActionEvent { /** @var PaypalCustomer */ protected $payPalCustomer; /** * PayPalCustomerEvent constructor. * @param PaypalCustomer $payPalCustomer */ public function __construct(PaypalCustomer $payPalCustomer) { $this->payPalCustomer = $payPalCustomer; } /** * @return PaypalCustomer */ public function getPayPalCustomer() { return $this->payPalCustomer; } /** * @param PaypalCustomer $payPalCustomer * * @return $this */ public function setPayPalCustomer($payPalCustomer) { $this->payPalCustomer = $payPalCustomer; return $this; } }