commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
OrderImport.php
1<?php
2
3declare(strict_types=1);
10
21use DateTimeImmutable;
22
23interface OrderImport extends JsonObject
24{
25 public const FIELD_ORDER_NUMBER = 'orderNumber';
26 public const FIELD_CUSTOMER = 'customer';
27 public const FIELD_CUSTOMER_EMAIL = 'customerEmail';
28 public const FIELD_LINE_ITEMS = 'lineItems';
29 public const FIELD_CUSTOM_LINE_ITEMS = 'customLineItems';
30 public const FIELD_TOTAL_PRICE = 'totalPrice';
31 public const FIELD_TAXED_PRICE = 'taxedPrice';
32 public const FIELD_SHIPPING_ADDRESS = 'shippingAddress';
33 public const FIELD_BILLING_ADDRESS = 'billingAddress';
34 public const FIELD_CUSTOMER_GROUP = 'customerGroup';
35 public const FIELD_COUNTRY = 'country';
36 public const FIELD_ORDER_STATE = 'orderState';
37 public const FIELD_SHIPMENT_STATE = 'shipmentState';
38 public const FIELD_PAYMENT_STATE = 'paymentState';
39 public const FIELD_SHIPPING_INFO = 'shippingInfo';
40 public const FIELD_COMPLETED_AT = 'completedAt';
41 public const FIELD_CUSTOM = 'custom';
42 public const FIELD_INVENTORY_MODE = 'inventoryMode';
43 public const FIELD_TAX_ROUNDING_MODE = 'taxRoundingMode';
44 public const FIELD_TAX_CALCULATION_MODE = 'taxCalculationMode';
45 public const FIELD_ORIGIN = 'origin';
46 public const FIELD_ITEM_SHIPPING_ADDRESSES = 'itemShippingAddresses';
47 public const FIELD_STORE = 'store';
48 public const FIELD_STATE = 'state';
49
56 public function getOrderNumber();
57
64 public function getCustomer();
65
72 public function getCustomerEmail();
73
80 public function getLineItems();
81
88 public function getCustomLineItems();
89
96 public function getTotalPrice();
97
104 public function getTaxedPrice();
105
112 public function getShippingAddress();
113
120 public function getBillingAddress();
121
128 public function getCustomerGroup();
129
136 public function getCountry();
137
144 public function getOrderState();
145
152 public function getShipmentState();
153
160 public function getPaymentState();
161
168 public function getShippingInfo();
169
176 public function getCompletedAt();
177
184 public function getCustom();
185
192 public function getInventoryMode();
193
200 public function getTaxRoundingMode();
201
208 public function getTaxCalculationMode();
209
216 public function getOrigin();
217
224 public function getItemShippingAddresses();
225
232 public function getStore();
233
240 public function getState();
241
245 public function setOrderNumber(?string $orderNumber): void;
246
250 public function setCustomer(?CustomerKeyReference $customer): void;
251
255 public function setCustomerEmail(?string $customerEmail): void;
256
260 public function setLineItems(?LineItemImportDraftCollection $lineItems): void;
261
265 public function setCustomLineItems(?CustomLineItemDraftCollection $customLineItems): void;
266
270 public function setTotalPrice(?TypedMoney $totalPrice): void;
271
275 public function setTaxedPrice(?TaxedPrice $taxedPrice): void;
276
280 public function setShippingAddress(?Address $shippingAddress): void;
281
285 public function setBillingAddress(?Address $billingAddress): void;
286
290 public function setCustomerGroup(?CustomerGroupKeyReference $customerGroup): void;
291
295 public function setCountry(?string $country): void;
296
300 public function setOrderState(?string $orderState): void;
301
305 public function setShipmentState(?string $shipmentState): void;
306
310 public function setPaymentState(?string $paymentState): void;
311
315 public function setShippingInfo(?ShippingInfoImportDraft $shippingInfo): void;
316
320 public function setCompletedAt(?DateTimeImmutable $completedAt): void;
321
325 public function setCustom(?Custom $custom): void;
326
330 public function setInventoryMode(?string $inventoryMode): void;
331
335 public function setTaxRoundingMode(?string $taxRoundingMode): void;
336
340 public function setTaxCalculationMode(?string $taxCalculationMode): void;
341
345 public function setOrigin(?string $origin): void;
346
350 public function setItemShippingAddresses(?AddressCollection $itemShippingAddresses): void;
351
355 public function setStore(?StoreKeyReference $store): void;
356
360 public function setState(?StateKeyReference $state): void;
361}
setCustomLineItems(?CustomLineItemDraftCollection $customLineItems)
setCustomerGroup(?CustomerGroupKeyReference $customerGroup)
setItemShippingAddresses(?AddressCollection $itemShippingAddresses)
setCustomer(?CustomerKeyReference $customer)
setBillingAddress(?Address $billingAddress)
setLineItems(?LineItemImportDraftCollection $lineItems)
setCompletedAt(?DateTimeImmutable $completedAt)
setTaxCalculationMode(?string $taxCalculationMode)
setTaxRoundingMode(?string $taxRoundingMode)
setShippingInfo(?ShippingInfoImportDraft $shippingInfo)
setShippingAddress(?Address $shippingAddress)