commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
OrderAddDeliveryAction.php
1 <?php
2 
3 declare(strict_types=1);
10 
15 
17 {
18  public const FIELD_DELIVERY_KEY = 'deliveryKey';
19  public const FIELD_SHIPPING_KEY = 'shippingKey';
20  public const FIELD_ITEMS = 'items';
21  public const FIELD_ADDRESS = 'address';
22  public const FIELD_PARCELS = 'parcels';
23  public const FIELD_CUSTOM = 'custom';
24 
31  public function getDeliveryKey();
32 
39  public function getShippingKey();
40 
47  public function getItems();
48 
55  public function getAddress();
56 
64  public function getParcels();
65 
72  public function getCustom();
73 
77  public function setDeliveryKey(?string $deliveryKey): void;
78 
82  public function setShippingKey(?string $shippingKey): void;
83 
87  public function setItems(?DeliveryItemCollection $items): void;
88 
92  public function setAddress(?BaseAddress $address): void;
93 
97  public function setParcels(?ParcelDraftCollection $parcels): void;
98 
102  public function setCustom(?CustomFieldsDraft $custom): void;
103 }
setParcels(?ParcelDraftCollection $parcels)