3 declare(strict_types=1);
33 use DateTimeImmutable;
51 private $purchaseOrderNumber;
63 private $customerEmail;
69 private $customerGroup;
75 private $businessUnit;
93 private $customLineItems;
111 private $taxRoundingMode;
117 private $taxCalculationMode;
123 private $inventoryMode;
129 private $billingAddress;
135 private $shippingAddress;
141 private $itemShippingAddresses;
147 private $shippingInfo;
153 private $paymentInfo;
159 private $paymentState;
165 private $shipmentState;
195 private $completedAt;
212 return $this->orderNumber;
223 return $this->purchaseOrderNumber;
234 return $this->customerId;
245 return $this->customerEmail;
294 return $this->lineItems;
306 return $this->customLineItems;
317 return $this->totalPrice instanceof
MoneyBuilder ? $this->totalPrice->
build() : $this->totalPrice;
339 return $this->taxRoundingMode;
350 return $this->taxCalculationMode;
361 return $this->inventoryMode;
372 return $this->billingAddress instanceof
BaseAddressBuilder ? $this->billingAddress->
build() : $this->billingAddress;
383 return $this->shippingAddress instanceof
BaseAddressBuilder ? $this->shippingAddress->
build() : $this->shippingAddress;
394 return $this->itemShippingAddresses;
427 return $this->paymentState;
438 return $this->shipmentState;
449 return $this->orderState;
471 return $this->country;
482 return $this->origin;
493 return $this->completedAt;
513 $this->orderNumber = $orderNumber;
524 $this->purchaseOrderNumber = $purchaseOrderNumber;
535 $this->customerId = $customerId;
546 $this->customerEmail = $customerEmail;
557 $this->customerGroup = $customerGroup;
568 $this->businessUnit = $businessUnit;
579 $this->store = $store;
590 $this->lineItems = $lineItems;
601 $this->customLineItems = $customLineItems;
612 $this->totalPrice = $totalPrice;
623 $this->taxedPrice = $taxedPrice;
634 $this->taxRoundingMode = $taxRoundingMode;
645 $this->taxCalculationMode = $taxCalculationMode;
656 $this->inventoryMode = $inventoryMode;
667 $this->billingAddress = $billingAddress;
678 $this->shippingAddress = $shippingAddress;
689 $this->itemShippingAddresses = $itemShippingAddresses;
700 $this->shippingInfo = $shippingInfo;
711 $this->paymentInfo = $paymentInfo;
722 $this->paymentState = $paymentState;
733 $this->shipmentState = $shipmentState;
744 $this->orderState = $orderState;
755 $this->state = $state;
766 $this->country = $country;
777 $this->origin = $origin;
788 $this->completedAt = $completedAt;
799 $this->custom = $custom;
810 $this->customerGroup = $customerGroup;
821 $this->businessUnit = $businessUnit;
832 $this->store = $store;
843 $this->totalPrice = $totalPrice;
854 $this->taxedPrice = $taxedPrice;
865 $this->billingAddress = $billingAddress;
876 $this->shippingAddress = $shippingAddress;
887 $this->shippingInfo = $shippingInfo;
898 $this->paymentInfo = $paymentInfo;
909 $this->state = $state;
920 $this->custom = $custom;
929 $this->purchaseOrderNumber,
931 $this->customerEmail,
936 $this->customLineItems,
937 $this->totalPrice instanceof
MoneyBuilder ? $this->totalPrice->
build() : $this->totalPrice,
939 $this->taxRoundingMode,
940 $this->taxCalculationMode,
941 $this->inventoryMode,
943 $this->shippingAddress instanceof
BaseAddressBuilder ? $this->shippingAddress->
build() : $this->shippingAddress,
944 $this->itemShippingAddresses,
948 $this->shipmentState,