commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
OrderFromCartDraft.php
1<?php
2
3declare(strict_types=1);
10
16
18{
19 public const FIELD_ID = 'id';
20 public const FIELD_CART = 'cart';
21 public const FIELD_VERSION = 'version';
22 public const FIELD_ORDER_NUMBER = 'orderNumber';
23 public const FIELD_PURCHASE_ORDER_NUMBER = 'purchaseOrderNumber';
24 public const FIELD_PAYMENT_STATE = 'paymentState';
25 public const FIELD_SHIPMENT_STATE = 'shipmentState';
26 public const FIELD_ORDER_STATE = 'orderState';
27 public const FIELD_STATE = 'state';
28 public const FIELD_CUSTOM = 'custom';
29
36 public function getId();
37
45 public function getCart();
46
53 public function getVersion();
54
62 public function getOrderNumber();
63
71 public function getPurchaseOrderNumber();
72
79 public function getPaymentState();
80
87 public function getShipmentState();
88
95 public function getOrderState();
96
103 public function getState();
104
116 public function getCustom();
117
121 public function setId(?string $id): void;
122
126 public function setCart(?CartResourceIdentifier $cart): void;
127
131 public function setVersion(?int $version): void;
132
136 public function setOrderNumber(?string $orderNumber): void;
137
141 public function setPurchaseOrderNumber(?string $purchaseOrderNumber): void;
142
146 public function setPaymentState(?string $paymentState): void;
147
151 public function setShipmentState(?string $shipmentState): void;
152
156 public function setOrderState(?string $orderState): void;
157
161 public function setState(?StateResourceIdentifier $state): void;
162
166 public function setCustom(?CustomFieldsDraft $custom): void;
167}
setState(?StateResourceIdentifier $state)
setPurchaseOrderNumber(?string $purchaseOrderNumber)
setCart(?CartResourceIdentifier $cart)