commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
DeliveryParcel.php
1<?php
2
3declare(strict_types=1);
10
16
17interface DeliveryParcel extends JsonObject
18{
19 public const FIELD_DELIVERY_ID = 'deliveryId';
20 public const FIELD_MEASUREMENTS = 'measurements';
21 public const FIELD_TRACKING_DATA = 'trackingData';
22 public const FIELD_ITEMS = 'items';
23
28 public function getDeliveryId();
29
34 public function getMeasurements();
35
40 public function getTrackingData();
41
46 public function getItems();
47
51 public function setDeliveryId(?string $deliveryId): void;
52
56 public function setMeasurements(?ParcelMeasurements $measurements): void;
57
61 public function setTrackingData(?TrackingData $trackingData): void;
62
66 public function setItems(?DeliveryItemCollection $items): void;
67}
setMeasurements(?ParcelMeasurements $measurements)