3 declare(strict_types=1);
31 use DateTimeImmutable;
55 private $customerEmail;
67 private $customLineItems;
85 private $shippingAddress;
91 private $billingAddress;
97 private $customerGroup;
115 private $shipmentState;
121 private $paymentState;
127 private $shippingInfo;
133 private $completedAt;
145 private $inventoryMode;
151 private $taxRoundingMode;
157 private $taxCalculationMode;
169 private $itemShippingAddresses;
191 return $this->orderNumber;
211 return $this->customerEmail;
222 return $this->lineItems;
233 return $this->customLineItems;
266 return $this->shippingAddress instanceof
AddressBuilder ? $this->shippingAddress->
build() : $this->shippingAddress;
277 return $this->billingAddress instanceof
AddressBuilder ? $this->billingAddress->
build() : $this->billingAddress;
299 return $this->country;
310 return $this->orderState;
321 return $this->shipmentState;
332 return $this->paymentState;
354 return $this->completedAt;
365 return $this->custom instanceof
CustomBuilder ? $this->custom->
build() : $this->custom;
376 return $this->inventoryMode;
387 return $this->taxRoundingMode;
398 return $this->taxCalculationMode;
409 return $this->origin;
420 return $this->itemShippingAddresses;
451 $this->orderNumber = $orderNumber;
462 $this->customer = $customer;
473 $this->customerEmail = $customerEmail;
484 $this->lineItems = $lineItems;
495 $this->customLineItems = $customLineItems;
506 $this->totalPrice = $totalPrice;
517 $this->taxedPrice = $taxedPrice;
528 $this->shippingAddress = $shippingAddress;
539 $this->billingAddress = $billingAddress;
550 $this->customerGroup = $customerGroup;
561 $this->country = $country;
572 $this->orderState = $orderState;
583 $this->shipmentState = $shipmentState;
594 $this->paymentState = $paymentState;
605 $this->shippingInfo = $shippingInfo;
616 $this->completedAt = $completedAt;
627 $this->custom = $custom;
638 $this->inventoryMode = $inventoryMode;
649 $this->taxRoundingMode = $taxRoundingMode;
660 $this->taxCalculationMode = $taxCalculationMode;
671 $this->origin = $origin;
682 $this->itemShippingAddresses = $itemShippingAddresses;
693 $this->store = $store;
704 $this->state = $state;
715 $this->customer = $customer;
726 $this->totalPrice = $totalPrice;
737 $this->taxedPrice = $taxedPrice;
748 $this->shippingAddress = $shippingAddress;
759 $this->billingAddress = $billingAddress;
770 $this->customerGroup = $customerGroup;
781 $this->shippingInfo = $shippingInfo;
792 $this->custom = $custom;
803 $this->store = $store;
814 $this->state = $state;
824 $this->customerEmail,
826 $this->customLineItems,
829 $this->shippingAddress instanceof
AddressBuilder ? $this->shippingAddress->
build() : $this->shippingAddress,
830 $this->billingAddress instanceof
AddressBuilder ? $this->billingAddress->
build() : $this->billingAddress,
834 $this->shipmentState,
839 $this->inventoryMode,
840 $this->taxRoundingMode,
841 $this->taxCalculationMode,
843 $this->itemShippingAddresses,