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
62 public function getCustomer();
63
70 public function getCustomerEmail();
71
78 public function getLineItems();
79
86 public function getCustomLineItems();
87
94 public function getTotalPrice();
95
102 public function getTaxedPrice();
103
110 public function getShippingAddress();
111
118 public function getBillingAddress();
119
126 public function getCustomerGroup();
127
134 public function getCountry();
135
142 public function getOrderState();
143
150 public function getShipmentState();
151
158 public function getPaymentState();
159
166 public function getShippingInfo();
167
174 public function getCompletedAt();
175
182 public function getCustom();
183
190 public function getInventoryMode();
191
198 public function getTaxRoundingMode();
199
206 public function getTaxCalculationMode();
207
214 public function getOrigin();
215
222 public function getItemShippingAddresses();
223
230 public function getStore();
231
238 public function getState();
239
243 public function setOrderNumber(?string $orderNumber): void;
244
248 public function setCustomer(?CustomerKeyReference $customer): void;
249
253 public function setCustomerEmail(?string $customerEmail): void;
254
258 public function setLineItems(?LineItemImportDraftCollection $lineItems): void;
259
263 public function setCustomLineItems(?CustomLineItemDraftCollection $customLineItems): void;
264
268 public function setTotalPrice(?TypedMoney $totalPrice): void;
269
273 public function setTaxedPrice(?TaxedPrice $taxedPrice): void;
274
278 public function setShippingAddress(?Address $shippingAddress): void;
279
283 public function setBillingAddress(?Address $billingAddress): void;
284
288 public function setCustomerGroup(?CustomerGroupKeyReference $customerGroup): void;
289
293 public function setCountry(?string $country): void;
294
298 public function setOrderState(?string $orderState): void;
299
303 public function setShipmentState(?string $shipmentState): void;
304
308 public function setPaymentState(?string $paymentState): void;
309
313 public function setShippingInfo(?ShippingInfoImportDraft $shippingInfo): void;
314
318 public function setCompletedAt(?DateTimeImmutable $completedAt): void;
319
323 public function setCustom(?Custom $custom): void;
324
328 public function setInventoryMode(?string $inventoryMode): void;
329
333 public function setTaxRoundingMode(?string $taxRoundingMode): void;
334
338 public function setTaxCalculationMode(?string $taxCalculationMode): void;
339
343 public function setOrigin(?string $origin): void;
344
348 public function setItemShippingAddresses(?AddressCollection $itemShippingAddresses): void;
349
353 public function setStore(?StoreKeyReference $store): void;
354
358 public function setState(?StateKeyReference $state): void;
359}
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)