commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-import
src
Models
OrderPatches
DeliveryParcel.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Import\Models\OrderPatches
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
use
Commercetools\Import\Models\Orders\DeliveryItemCollection
;
14
use
Commercetools\Import\Models\Orders\ParcelMeasurements
;
15
use
Commercetools\Import\Models\Orders\TrackingData
;
16
17
interface
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
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Import\Models\Orders\DeliveryItemCollection
Definition:
DeliveryItemCollection.php:22
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Import\Models\OrderPatches\DeliveryParcel
Definition:
DeliveryParcel.php:18
Commercetools\Import\Models\OrderPatches\DeliveryParcel\setMeasurements
setMeasurements(?ParcelMeasurements $measurements)
Commercetools\Import\Models\OrderPatches\DeliveryParcel\getDeliveryId
getDeliveryId()
Commercetools\Import\Models\OrderPatches\DeliveryParcel\getMeasurements
getMeasurements()
Commercetools\Import\Models\OrderPatches\DeliveryParcel\setItems
setItems(?DeliveryItemCollection $items)
Commercetools\Import\Models\OrderPatches\DeliveryParcel\setDeliveryId
setDeliveryId(?string $deliveryId)
Commercetools\Import\Models\OrderPatches\DeliveryParcel\FIELD_MEASUREMENTS
const FIELD_MEASUREMENTS
Definition:
DeliveryParcel.php:20
Commercetools\Import\Models\OrderPatches\DeliveryParcel\FIELD_DELIVERY_ID
const FIELD_DELIVERY_ID
Definition:
DeliveryParcel.php:19
Commercetools\Import\Models\OrderPatches\DeliveryParcel\getTrackingData
getTrackingData()
Commercetools\Import\Models\OrderPatches\DeliveryParcel\getItems
getItems()
Commercetools\Import\Models\OrderPatches\DeliveryParcel\FIELD_TRACKING_DATA
const FIELD_TRACKING_DATA
Definition:
DeliveryParcel.php:21
Commercetools\Import\Models\OrderPatches\DeliveryParcel\setTrackingData
setTrackingData(?TrackingData $trackingData)
Commercetools\Import\Models\OrderPatches\DeliveryParcel\FIELD_ITEMS
const FIELD_ITEMS
Definition:
DeliveryParcel.php:22
Commercetools\Import\Models\Orders\ParcelMeasurements
Definition:
ParcelMeasurements.php:15
Commercetools\Import\Models\Orders\TrackingData
Definition:
TrackingData.php:15
Commercetools\Import\Models\OrderPatches
Definition:
DeliveryAddressDraft.php:9
Generated by
1.9.1