commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
OrderImportDraft.php
1<?php
2
3declare(strict_types=1);
10
22use DateTimeImmutable;
23
25{
26 public const FIELD_ORDER_NUMBER = 'orderNumber';
27 public const FIELD_PURCHASE_ORDER_NUMBER = 'purchaseOrderNumber';
28 public const FIELD_CUSTOMER_ID = 'customerId';
29 public const FIELD_CUSTOMER_EMAIL = 'customerEmail';
30 public const FIELD_CUSTOMER_GROUP = 'customerGroup';
31 public const FIELD_BUSINESS_UNIT = 'businessUnit';
32 public const FIELD_STORE = 'store';
33 public const FIELD_LINE_ITEMS = 'lineItems';
34 public const FIELD_CUSTOM_LINE_ITEMS = 'customLineItems';
35 public const FIELD_TOTAL_PRICE = 'totalPrice';
36 public const FIELD_TAXED_PRICE = 'taxedPrice';
37 public const FIELD_TAX_ROUNDING_MODE = 'taxRoundingMode';
38 public const FIELD_TAX_CALCULATION_MODE = 'taxCalculationMode';
39 public const FIELD_INVENTORY_MODE = 'inventoryMode';
40 public const FIELD_BILLING_ADDRESS = 'billingAddress';
41 public const FIELD_SHIPPING_ADDRESS = 'shippingAddress';
42 public const FIELD_ITEM_SHIPPING_ADDRESSES = 'itemShippingAddresses';
43 public const FIELD_SHIPPING_INFO = 'shippingInfo';
44 public const FIELD_PAYMENT_INFO = 'paymentInfo';
45 public const FIELD_PAYMENT_STATE = 'paymentState';
46 public const FIELD_SHIPMENT_STATE = 'shipmentState';
47 public const FIELD_ORDER_STATE = 'orderState';
48 public const FIELD_STATE = 'state';
49 public const FIELD_COUNTRY = 'country';
50 public const FIELD_ORIGIN = 'origin';
51 public const FIELD_COMPLETED_AT = 'completedAt';
52 public const FIELD_CUSTOM = 'custom';
53
61 public function getOrderNumber();
62
69 public function getPurchaseOrderNumber();
70
77 public function getCustomerId();
78
85 public function getCustomerEmail();
86
93 public function getCustomerGroup();
94
102 public function getBusinessUnit();
103
113 public function getStore();
114
122 public function getLineItems();
123
131 public function getCustomLineItems();
132
139 public function getTotalPrice();
140
147 public function getTaxedPrice();
148
155 public function getTaxRoundingMode();
156
163 public function getTaxCalculationMode();
164
171 public function getInventoryMode();
172
179 public function getBillingAddress();
180
187 public function getShippingAddress();
188
195 public function getItemShippingAddresses();
196
203 public function getShippingInfo();
204
211 public function getPaymentInfo();
212
219 public function getPaymentState();
220
227 public function getShipmentState();
228
235 public function getOrderState();
236
243 public function getState();
244
251 public function getCountry();
252
259 public function getOrigin();
260
267 public function getCompletedAt();
268
275 public function getCustom();
276
280 public function setOrderNumber(?string $orderNumber): void;
281
285 public function setPurchaseOrderNumber(?string $purchaseOrderNumber): void;
286
290 public function setCustomerId(?string $customerId): void;
291
295 public function setCustomerEmail(?string $customerEmail): void;
296
300 public function setCustomerGroup(?CustomerGroupResourceIdentifier $customerGroup): void;
301
305 public function setBusinessUnit(?BusinessUnitResourceIdentifier $businessUnit): void;
306
310 public function setStore(?StoreResourceIdentifier $store): void;
311
315 public function setLineItems(?LineItemImportDraftCollection $lineItems): void;
316
320 public function setCustomLineItems(?CustomLineItemImportDraftCollection $customLineItems): void;
321
325 public function setTotalPrice(?Money $totalPrice): void;
326
330 public function setTaxedPrice(?TaxedPriceDraft $taxedPrice): void;
331
335 public function setTaxRoundingMode(?string $taxRoundingMode): void;
336
340 public function setTaxCalculationMode(?string $taxCalculationMode): void;
341
345 public function setInventoryMode(?string $inventoryMode): void;
346
350 public function setBillingAddress(?BaseAddress $billingAddress): void;
351
355 public function setShippingAddress(?BaseAddress $shippingAddress): void;
356
360 public function setItemShippingAddresses(?BaseAddressCollection $itemShippingAddresses): void;
361
365 public function setShippingInfo(?ShippingInfoImportDraft $shippingInfo): void;
366
370 public function setPaymentInfo(?PaymentInfo $paymentInfo): void;
371
375 public function setPaymentState(?string $paymentState): void;
376
380 public function setShipmentState(?string $shipmentState): void;
381
385 public function setOrderState(?string $orderState): void;
386
390 public function setState(?StateReference $state): void;
391
395 public function setCountry(?string $country): void;
396
400 public function setOrigin(?string $origin): void;
401
405 public function setCompletedAt(?DateTimeImmutable $completedAt): void;
406
410 public function setCustom(?CustomFieldsDraft $custom): void;
411}
setStore(?StoreResourceIdentifier $store)
setItemShippingAddresses(?BaseAddressCollection $itemShippingAddresses)
setBusinessUnit(?BusinessUnitResourceIdentifier $businessUnit)
setCustomerGroup(?CustomerGroupResourceIdentifier $customerGroup)
setBillingAddress(?BaseAddress $billingAddress)
setTaxedPrice(?TaxedPriceDraft $taxedPrice)
setLineItems(?LineItemImportDraftCollection $lineItems)
setTaxRoundingMode(?string $taxRoundingMode)
setTaxCalculationMode(?string $taxCalculationMode)
setShippingInfo(?ShippingInfoImportDraft $shippingInfo)
setShippingAddress(?BaseAddress $shippingAddress)
setPurchaseOrderNumber(?string $purchaseOrderNumber)
setCustomLineItems(?CustomLineItemImportDraftCollection $customLineItems)
setCompletedAt(?DateTimeImmutable $completedAt)