commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Message
ParcelItemsUpdatedMessagePayload.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
ParcelItemsUpdatedMessagePayload
extends
OrderMessagePayload
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\OrderMessagePayload
Definition:
OrderMessagePayload.php:15
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessagePayload
Definition:
ParcelItemsUpdatedMessagePayload.php:16
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessagePayload\getParcelId
getParcelId()
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessagePayload\setOldItems
setOldItems(?DeliveryItemCollection $oldItems)
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessagePayload\FIELD_SHIPPING_KEY
const FIELD_SHIPPING_KEY
Definition:
ParcelItemsUpdatedMessagePayload.php:21
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessagePayload\FIELD_OLD_ITEMS
const FIELD_OLD_ITEMS
Definition:
ParcelItemsUpdatedMessagePayload.php:20
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessagePayload\FIELD_ITEMS
const FIELD_ITEMS
Definition:
ParcelItemsUpdatedMessagePayload.php:19
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessagePayload\setShippingKey
setShippingKey(?string $shippingKey)
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessagePayload\setDeliveryId
setDeliveryId(?string $deliveryId)
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessagePayload\setParcelId
setParcelId(?string $parcelId)
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessagePayload\FIELD_DELIVERY_ID
const FIELD_DELIVERY_ID
Definition:
ParcelItemsUpdatedMessagePayload.php:18
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessagePayload\getOldItems
getOldItems()
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessagePayload\FIELD_PARCEL_ID
const FIELD_PARCEL_ID
Definition:
ParcelItemsUpdatedMessagePayload.php:17
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessagePayload\setItems
setItems(?DeliveryItemCollection $items)
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessagePayload\getItems
getItems()
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessagePayload\getShippingKey
getShippingKey()
Commercetools\Api\Models\Message\ParcelItemsUpdatedMessagePayload\getDeliveryId
getDeliveryId()
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Message
Definition:
ApprovalFlowApprovedMessage.php:9
Generated by
1.9.1