* @copyright 2021 DIGITAL RETAIL TECHNOLOGIES SL * @license https://opensource.org/licenses/MIT The MIT License * * Don't forget to prefix your containers with your own identifier * to avoid any conflicts with others containers. */ class RetailcrmCustomerBuilderResult { /** @var Customer|CustomerCore */ private $customer; /** @var Address|AddressCore|null */ private $customerAddress; /** * RetailcrmCustomerBuilderResult constructor. * * @param Customer|CustomerCore $customer * @param Address|AddressCore|null $customerAddress */ public function __construct($customer, $customerAddress) { $this->customer = $customer; $this->customerAddress = $customerAddress; } /** * @return Customer|CustomerCore */ public function getCustomer() { return $this->customer; } /** * @return Address|AddressCore|null */ public function getCustomerAddress() { return $this->customerAddress; } }