/** * @param null|object $attributes */ public function __construct($attributes = null) { if (null !== $attributes) { if (isset($attributes->SingleLineAddress)) { $this->setSingleLineAddress($attributes->SingleLineAddress); } } parent::__construct($attributes); }
/** * @param null|object $attributes */ public function __construct($attributes = null) { if (null !== $attributes) { if (isset($attributes->Country)) { $this->setCountryCode($attributes->Country); } } parent::__construct($attributes); }