commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-import
src
Models
OrderPatches
DeliveryParcelDraft.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
DeliveryParcelDraft
extends
JsonObject
18
{
19
public
const
FIELD_MEASUREMENTS
=
'measurements'
;
20
public
const
FIELD_TRACKING_DATA
=
'trackingData'
;
21
public
const
FIELD_ITEMS
=
'items'
;
22
27
public
function
getMeasurements
();
28
33
public
function
getTrackingData
();
34
39
public
function
getItems
();
40
44
public
function
setMeasurements
(?
ParcelMeasurements
$measurements): void;
45
49
public
function
setTrackingData
(?
TrackingData
$trackingData): void;
50
54
public
function
setItems
(?
DeliveryItemCollection
$items): void;
55
}
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\DeliveryParcelDraft
Definition:
DeliveryParcelDraft.php:18
Commercetools\Import\Models\OrderPatches\DeliveryParcelDraft\setTrackingData
setTrackingData(?TrackingData $trackingData)
Commercetools\Import\Models\OrderPatches\DeliveryParcelDraft\getItems
getItems()
Commercetools\Import\Models\OrderPatches\DeliveryParcelDraft\getTrackingData
getTrackingData()
Commercetools\Import\Models\OrderPatches\DeliveryParcelDraft\FIELD_MEASUREMENTS
const FIELD_MEASUREMENTS
Definition:
DeliveryParcelDraft.php:19
Commercetools\Import\Models\OrderPatches\DeliveryParcelDraft\FIELD_TRACKING_DATA
const FIELD_TRACKING_DATA
Definition:
DeliveryParcelDraft.php:20
Commercetools\Import\Models\OrderPatches\DeliveryParcelDraft\setItems
setItems(?DeliveryItemCollection $items)
Commercetools\Import\Models\OrderPatches\DeliveryParcelDraft\setMeasurements
setMeasurements(?ParcelMeasurements $measurements)
Commercetools\Import\Models\OrderPatches\DeliveryParcelDraft\FIELD_ITEMS
const FIELD_ITEMS
Definition:
DeliveryParcelDraft.php:21
Commercetools\Import\Models\OrderPatches\DeliveryParcelDraft\getMeasurements
getMeasurements()
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