3 declare(strict_types=1);
283 if (is_null($this->currency)) {
285 $data = $this->
raw(self::FIELD_CURRENCY);
286 if (is_null($data)) {
289 $this->currency = (string) $data;
303 if (is_null($this->key)) {
305 $data = $this->
raw(self::FIELD_KEY);
306 if (is_null($data)) {
309 $this->key = (string) $data;
323 if (is_null($this->customerId)) {
325 $data = $this->
raw(self::FIELD_CUSTOMER_ID);
326 if (is_null($data)) {
329 $this->customerId = (string) $data;
343 if (is_null($this->customerEmail)) {
345 $data = $this->
raw(self::FIELD_CUSTOMER_EMAIL);
346 if (is_null($data)) {
349 $this->customerEmail = (string) $data;
365 if (is_null($this->customerGroup)) {
367 $data = $this->
raw(self::FIELD_CUSTOMER_GROUP);
368 if (is_null($data)) {
386 if (is_null($this->anonymousId)) {
388 $data = $this->
raw(self::FIELD_ANONYMOUS_ID);
389 if (is_null($data)) {
392 $this->anonymousId = (string) $data;
406 if (is_null($this->businessUnit)) {
408 $data = $this->
raw(self::FIELD_BUSINESS_UNIT);
409 if (is_null($data)) {
427 if (is_null($this->store)) {
429 $data = $this->
raw(self::FIELD_STORE);
430 if (is_null($data)) {
448 if (is_null($this->lineItems)) {
450 $data = $this->
raw(self::FIELD_LINE_ITEMS);
451 if (is_null($data)) {
468 if (is_null($this->customLineItems)) {
470 $data = $this->
raw(self::FIELD_CUSTOM_LINE_ITEMS);
471 if (is_null($data)) {
488 if (is_null($this->taxMode)) {
490 $data = $this->
raw(self::FIELD_TAX_MODE);
491 if (is_null($data)) {
494 $this->taxMode = (string) $data;
508 if (is_null($this->externalTaxRateForShippingMethod)) {
510 $data = $this->
raw(self::FIELD_EXTERNAL_TAX_RATE_FOR_SHIPPING_METHOD);
511 if (is_null($data)) {
529 if (is_null($this->taxRoundingMode)) {
531 $data = $this->
raw(self::FIELD_TAX_ROUNDING_MODE);
532 if (is_null($data)) {
535 $this->taxRoundingMode = (string) $data;
549 if (is_null($this->taxCalculationMode)) {
551 $data = $this->
raw(self::FIELD_TAX_CALCULATION_MODE);
552 if (is_null($data)) {
555 $this->taxCalculationMode = (string) $data;
569 if (is_null($this->inventoryMode)) {
571 $data = $this->
raw(self::FIELD_INVENTORY_MODE);
572 if (is_null($data)) {
575 $this->inventoryMode = (string) $data;
589 if (is_null($this->billingAddress)) {
591 $data = $this->
raw(self::FIELD_BILLING_ADDRESS);
592 if (is_null($data)) {
611 if (is_null($this->shippingAddress)) {
613 $data = $this->
raw(self::FIELD_SHIPPING_ADDRESS);
614 if (is_null($data)) {
632 if (is_null($this->shippingMethod)) {
634 $data = $this->
raw(self::FIELD_SHIPPING_METHOD);
635 if (is_null($data)) {
659 if (is_null($this->shippingRateInput)) {
661 $data = $this->
raw(self::FIELD_SHIPPING_RATE_INPUT);
662 if (is_null($data)) {
666 $this->shippingRateInput = $className::of($data);
683 if (is_null($this->shippingMode)) {
685 $data = $this->
raw(self::FIELD_SHIPPING_MODE);
686 if (is_null($data)) {
689 $this->shippingMode = (string) $data;
703 if (is_null($this->customShipping)) {
705 $data = $this->
raw(self::FIELD_CUSTOM_SHIPPING);
706 if (is_null($data)) {
723 if (is_null($this->shipping)) {
725 $data = $this->
raw(self::FIELD_SHIPPING);
726 if (is_null($data)) {
745 if (is_null($this->itemShippingAddresses)) {
747 $data = $this->
raw(self::FIELD_ITEM_SHIPPING_ADDRESSES);
748 if (is_null($data)) {
765 if (is_null($this->discountCodes)) {
767 $data = $this->
raw(self::FIELD_DISCOUNT_CODES);
768 if (is_null($data)) {
771 $this->discountCodes = $data;
786 if (is_null($this->country)) {
788 $data = $this->
raw(self::FIELD_COUNTRY);
789 if (is_null($data)) {
792 $this->country = (string) $data;
806 if (is_null($this->locale)) {
808 $data = $this->
raw(self::FIELD_LOCALE);
809 if (is_null($data)) {
812 $this->locale = (string) $data;
826 if (is_null($this->origin)) {
828 $data = $this->
raw(self::FIELD_ORIGIN);
829 if (is_null($data)) {
832 $this->origin = (string) $data;
848 if (is_null($this->deleteDaysAfterLastModification)) {
850 $data = $this->
raw(self::FIELD_DELETE_DAYS_AFTER_LAST_MODIFICATION);
851 if (is_null($data)) {
854 $this->deleteDaysAfterLastModification = (int) $data;
868 if (is_null($this->custom)) {
870 $data = $this->
raw(self::FIELD_CUSTOM);
871 if (is_null($data)) {