commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Message
ParcelAddedToDeliveryMessage.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
ParcelAddedToDeliveryMessage
extends
OrderMessage
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\OrderMessage
Definition:
OrderMessage.php:15
Commercetools\Api\Models\Message\ParcelAddedToDeliveryMessage
Definition:
ParcelAddedToDeliveryMessage.php:17
Commercetools\Api\Models\Message\ParcelAddedToDeliveryMessage\setParcel
setParcel(?Parcel $parcel)
Commercetools\Api\Models\Message\ParcelAddedToDeliveryMessage\setShippingKey
setShippingKey(?string $shippingKey)
Commercetools\Api\Models\Message\ParcelAddedToDeliveryMessage\getParcel
getParcel()
Commercetools\Api\Models\Message\ParcelAddedToDeliveryMessage\FIELD_DELIVERY
const FIELD_DELIVERY
Definition:
ParcelAddedToDeliveryMessage.php:18
Commercetools\Api\Models\Message\ParcelAddedToDeliveryMessage\setDelivery
setDelivery(?Delivery $delivery)
Commercetools\Api\Models\Message\ParcelAddedToDeliveryMessage\FIELD_PARCEL
const FIELD_PARCEL
Definition:
ParcelAddedToDeliveryMessage.php:19
Commercetools\Api\Models\Message\ParcelAddedToDeliveryMessage\getShippingKey
getShippingKey()
Commercetools\Api\Models\Message\ParcelAddedToDeliveryMessage\getDelivery
getDelivery()
Commercetools\Api\Models\Message\ParcelAddedToDeliveryMessage\FIELD_SHIPPING_KEY
const FIELD_SHIPPING_KEY
Definition:
ParcelAddedToDeliveryMessage.php:20
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