commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Message
ParcelItemsUpdatedMessage.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Message
;
10
11
use
Commercetools\Api\Models\Order\DeliveryItemCollection
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
ParcelItemsUpdatedMessage
extends
OrderMessage
16
{
17
public
const
FIELD_PARCEL_ID
=
'parcelId'
;
18
public
const
FIELD_DELIVERY_ID
=
'deliveryId'
;
19
public
const
FIELD_ITEMS
=
'items'
;
20
public
const
FIELD_OLD_ITEMS
=
'oldItems'
;
21
public
const
FIELD_SHIPPING_KEY
=
'shippingKey'
;
22
29
public
function
getParcelId
();
30
37
public
function
getDeliveryId
();
38
45
public
function
getItems
();
46
53
public
function
getOldItems
();
54
61
public
function
getShippingKey
();
62
66
public
function
setParcelId
(?
string
$parcelId): void;
67
71
public
function
setDeliveryId
(?
string
$deliveryId): void;
72
76
public
function
setItems
(?
DeliveryItemCollection
$items): void;
77
81
public
function
setOldItems
(?
DeliveryItemCollection
$oldItems): void;
82
86
public
function
setShippingKey
(?
string
$shippingKey): void;
87
}
Commercetools\Api\Models\Order\DeliveryItemCollection
Definition:
DeliveryItemCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Message\OrderMessage
Definition:
OrderMessage.php:15
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessage
Definition:
ParcelItemsUpdatedMessage.php:16
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessage\FIELD_DELIVERY_ID
const FIELD_DELIVERY_ID
Definition:
ParcelItemsUpdatedMessage.php:18
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessage\setItems
setItems(?DeliveryItemCollection $items)
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessage\getShippingKey
getShippingKey()
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessage\FIELD_PARCEL_ID
const FIELD_PARCEL_ID
Definition:
ParcelItemsUpdatedMessage.php:17
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessage\FIELD_OLD_ITEMS
const FIELD_OLD_ITEMS
Definition:
ParcelItemsUpdatedMessage.php:20
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessage\setShippingKey
setShippingKey(?string $shippingKey)
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessage\FIELD_ITEMS
const FIELD_ITEMS
Definition:
ParcelItemsUpdatedMessage.php:19
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessage\getParcelId
getParcelId()
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessage\setParcelId
setParcelId(?string $parcelId)
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessage\setDeliveryId
setDeliveryId(?string $deliveryId)
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessage\setOldItems
setOldItems(?DeliveryItemCollection $oldItems)
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessage\getOldItems
getOldItems()
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessage\getItems
getItems()
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessage\FIELD_SHIPPING_KEY
const FIELD_SHIPPING_KEY
Definition:
ParcelItemsUpdatedMessage.php:21
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessage\getDeliveryId
getDeliveryId()
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Message
Definition:
ApprovalFlowApprovedMessage.php:9
Generated by
1.9.1