commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
OrderField.php
1 <?php
2 
3 declare(strict_types=1);
10 
13 
14 interface OrderField extends JsonObject
15 {
16  public const FIELD_ADD_RETURN_INFO = 'addReturnInfo';
17  public const FIELD_ADD_PARCEL_TO_DELIVERY = 'addParcelToDelivery';
18  public const FIELD_ADD_DELIVERIES = 'addDeliveries';
19  public const FIELD_REMOVE_DELIVERY = 'removeDelivery';
20  public const FIELD_REMOVE_PARCEL_FROM_DELIVERY = 'removeParcelFromDelivery';
21  public const FIELD_SET_DELIVERY_ADDRESS = 'setDeliveryAddress';
22  public const FIELD_SET_PARCEL_MEASUREMENTS = 'setParcelMeasurements';
23  public const FIELD_SET_PARCEL_TRACKING_DATA = 'setParcelTrackingData';
24  public const FIELD_SET_PARCEL_ITEMS = 'setParcelItems';
25 
32  public function getAddReturnInfo();
33 
40  public function getAddParcelToDelivery();
41 
48  public function getAddDeliveries();
49 
56  public function getRemoveDelivery();
57 
64  public function getRemoveParcelFromDelivery();
65 
72  public function getSetDeliveryAddress();
73 
80  public function getSetParcelMeasurements();
81 
88  public function getSetParcelTrackingData();
89 
96  public function getSetParcelItems();
97 
101  public function setAddReturnInfo(?ReturnInfo $addReturnInfo): void;
102 
106  public function setAddParcelToDelivery(?DeliveryParcel $addParcelToDelivery): void;
107 
111  public function setAddDeliveries(?DeliveryDraftCollection $addDeliveries): void;
112 
116  public function setRemoveDelivery(?RemoveDeliveryDraft $removeDelivery): void;
117 
121  public function setRemoveParcelFromDelivery(?RemoveParcelFromDeliveryDraft $removeParcelFromDelivery): void;
122 
126  public function setSetDeliveryAddress(?DeliveryAddressDraft $setDeliveryAddress): void;
127 
131  public function setSetParcelMeasurements(?ParcelMeasurementDraft $setParcelMeasurements): void;
132 
136  public function setSetParcelTrackingData(?ParcelTrackingData $setParcelTrackingData): void;
137 
141  public function setSetParcelItems(?ParcelItemsCollection $setParcelItems): void;
142 }
setSetParcelItems(?ParcelItemsCollection $setParcelItems)
setRemoveParcelFromDelivery(?RemoveParcelFromDeliveryDraft $removeParcelFromDelivery)
setAddParcelToDelivery(?DeliveryParcel $addParcelToDelivery)
setSetParcelTrackingData(?ParcelTrackingData $setParcelTrackingData)
setSetDeliveryAddress(?DeliveryAddressDraft $setDeliveryAddress)
setSetParcelMeasurements(?ParcelMeasurementDraft $setParcelMeasurements)
setRemoveDelivery(?RemoveDeliveryDraft $removeDelivery)
setAddDeliveries(?DeliveryDraftCollection $addDeliveries)