3declare(strict_types=1);
189 ?
string $city =
null,
241 if (is_null($this->key)) {
243 $data = $this->
raw(self::FIELD_KEY);
244 if (is_null($data)) {
247 $this->key = (string) $data;
261 if (is_null($this->country)) {
263 $data = $this->
raw(self::FIELD_COUNTRY);
264 if (is_null($data)) {
267 $this->country = (string) $data;
281 if (is_null($this->title)) {
283 $data = $this->
raw(self::FIELD_TITLE);
284 if (is_null($data)) {
287 $this->title = (string) $data;
301 if (is_null($this->salutation)) {
303 $data = $this->
raw(self::FIELD_SALUTATION);
304 if (is_null($data)) {
307 $this->salutation = (string) $data;
321 if (is_null($this->firstName)) {
323 $data = $this->
raw(self::FIELD_FIRST_NAME);
324 if (is_null($data)) {
327 $this->firstName = (string) $data;
341 if (is_null($this->lastName)) {
343 $data = $this->
raw(self::FIELD_LAST_NAME);
344 if (is_null($data)) {
347 $this->lastName = (string) $data;
361 if (is_null($this->streetName)) {
363 $data = $this->
raw(self::FIELD_STREET_NAME);
364 if (is_null($data)) {
367 $this->streetName = (string) $data;
381 if (is_null($this->streetNumber)) {
383 $data = $this->
raw(self::FIELD_STREET_NUMBER);
384 if (is_null($data)) {
387 $this->streetNumber = (string) $data;
401 if (is_null($this->additionalStreetInfo)) {
403 $data = $this->
raw(self::FIELD_ADDITIONAL_STREET_INFO);
404 if (is_null($data)) {
407 $this->additionalStreetInfo = (string) $data;
421 if (is_null($this->postalCode)) {
423 $data = $this->
raw(self::FIELD_POSTAL_CODE);
424 if (is_null($data)) {
427 $this->postalCode = (string) $data;
441 if (is_null($this->city)) {
443 $data = $this->
raw(self::FIELD_CITY);
444 if (is_null($data)) {
447 $this->city = (string) $data;
461 if (is_null($this->region)) {
463 $data = $this->
raw(self::FIELD_REGION);
464 if (is_null($data)) {
467 $this->region = (string) $data;
481 if (is_null($this->state)) {
483 $data = $this->
raw(self::FIELD_STATE);
484 if (is_null($data)) {
487 $this->state = (string) $data;
501 if (is_null($this->company)) {
503 $data = $this->
raw(self::FIELD_COMPANY);
504 if (is_null($data)) {
507 $this->company = (string) $data;
521 if (is_null($this->department)) {
523 $data = $this->
raw(self::FIELD_DEPARTMENT);
524 if (is_null($data)) {
527 $this->department = (string) $data;
541 if (is_null($this->building)) {
543 $data = $this->
raw(self::FIELD_BUILDING);
544 if (is_null($data)) {
547 $this->building = (string) $data;
561 if (is_null($this->apartment)) {
563 $data = $this->
raw(self::FIELD_APARTMENT);
564 if (is_null($data)) {
567 $this->apartment = (string) $data;
581 if (is_null($this->pOBox)) {
583 $data = $this->
raw(self::FIELD_P_O_BOX);
584 if (is_null($data)) {
587 $this->pOBox = (string) $data;
601 if (is_null($this->phone)) {
603 $data = $this->
raw(self::FIELD_PHONE);
604 if (is_null($data)) {
607 $this->phone = (string) $data;
621 if (is_null($this->mobile)) {
623 $data = $this->
raw(self::FIELD_MOBILE);
624 if (is_null($data)) {
627 $this->mobile = (string) $data;
641 if (is_null($this->email)) {
643 $data = $this->
raw(self::FIELD_EMAIL);
644 if (is_null($data)) {
647 $this->email = (string) $data;
661 if (is_null($this->fax)) {
663 $data = $this->
raw(self::FIELD_FAX);
664 if (is_null($data)) {
667 $this->fax = (string) $data;
681 if (is_null($this->additionalAddressInfo)) {
683 $data = $this->
raw(self::FIELD_ADDITIONAL_ADDRESS_INFO);
684 if (is_null($data)) {
687 $this->additionalAddressInfo = (string) $data;
701 if (is_null($this->externalId)) {
703 $data = $this->
raw(self::FIELD_EXTERNAL_ID);
704 if (is_null($data)) {
707 $this->externalId = (string) $data;
721 if (is_null($this->custom)) {
723 $data = $this->
raw(self::FIELD_CUSTOM);
724 if (is_null($data)) {
728 $this->custom = CustomModel::of($data);