commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Message
ParcelAddedToDeliveryMessagePayload.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Message
;
10
11
use
Commercetools\Api\Models\Order\Delivery
;
12
use
Commercetools\Api\Models\Order\Parcel
;
13
use
Commercetools\Base\DateTimeImmutableCollection
;
14
use
Commercetools\Base\JsonObject
;
15
16
interface
ParcelAddedToDeliveryMessagePayload
extends
OrderMessagePayload
17
{
18
public
const
FIELD_DELIVERY
=
'delivery'
;
19
public
const
FIELD_PARCEL
=
'parcel'
;
20
public
const
FIELD_SHIPPING_KEY
=
'shippingKey'
;
21
28
public
function
getDelivery
();
29
36
public
function
getParcel
();
37
44
public
function
getShippingKey
();
45
49
public
function
setDelivery
(?
Delivery
$delivery): void;
50
54
public
function
setParcel
(?
Parcel
$parcel): void;
55
59
public
function
setShippingKey
(?
string
$shippingKey): void;
60
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Message\OrderMessagePayload
Definition:
OrderMessagePayload.php:15
Commercetools\Api\Models\Message\ParcelAddedToDeliveryMessagePayload
Definition:
ParcelAddedToDeliveryMessagePayload.php:17
Commercetools\Api\Models\Message\ParcelAddedToDeliveryMessagePayload\getParcel
getParcel()
Commercetools\Api\Models\Message\ParcelAddedToDeliveryMessagePayload\FIELD_PARCEL
const FIELD_PARCEL
Definition:
ParcelAddedToDeliveryMessagePayload.php:19
Commercetools\Api\Models\Message\ParcelAddedToDeliveryMessagePayload\setParcel
setParcel(?Parcel $parcel)
Commercetools\Api\Models\Message\ParcelAddedToDeliveryMessagePayload\setDelivery
setDelivery(?Delivery $delivery)
Commercetools\Api\Models\Message\ParcelAddedToDeliveryMessagePayload\FIELD_SHIPPING_KEY
const FIELD_SHIPPING_KEY
Definition:
ParcelAddedToDeliveryMessagePayload.php:20
Commercetools\Api\Models\Message\ParcelAddedToDeliveryMessagePayload\getShippingKey
getShippingKey()
Commercetools\Api\Models\Message\ParcelAddedToDeliveryMessagePayload\getDelivery
getDelivery()
Commercetools\Api\Models\Message\ParcelAddedToDeliveryMessagePayload\FIELD_DELIVERY
const FIELD_DELIVERY
Definition:
ParcelAddedToDeliveryMessagePayload.php:18
Commercetools\Api\Models\Message\ParcelAddedToDeliveryMessagePayload\setShippingKey
setShippingKey(?string $shippingKey)
Commercetools\Api\Models\Order\Delivery
Definition:
Delivery.php:18
Commercetools\Api\Models\Order\Parcel
Definition:
Parcel.php:17
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Message
Definition:
ApprovalFlowApprovedMessage.php:9
Generated by
1.9.1