function __construct($customer) { $this->email = isset($customer->Email) ? $customer->Email : ""; $this->ipAddress = isset($customer->IpAddress) ? $customer->IpAddress : ""; $this->countryCode = isset($customer->CountryCode) ? $customer->CountryCode : ""; $this->houseNumber = isset($customer->HouseNumber) ? $customer->HouseNumber : ""; parent::__construct($customer); }
function __construct($customer) { $this->addressSelector = isset($customer->AddressSelector) ? $customer->AddressSelector : ""; parent::__construct($customer); }