commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Order
OrderSetParcelItemsAction.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Order
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
14
interface
OrderSetParcelItemsAction
extends
OrderUpdateAction
15
{
16
public
const
FIELD_PARCEL_ID
=
'parcelId'
;
17
public
const
FIELD_PARCEL_KEY
=
'parcelKey'
;
18
public
const
FIELD_ITEMS
=
'items'
;
19
27
public
function
getParcelId
();
28
36
public
function
getParcelKey
();
37
45
public
function
getItems
();
46
50
public
function
setParcelId
(?
string
$parcelId): void;
51
55
public
function
setParcelKey
(?
string
$parcelKey): void;
56
60
public
function
setItems
(?
DeliveryItemCollection
$items): void;
61
}
Commercetools\Api\Models\Order\DeliveryItemCollection
Definition:
DeliveryItemCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Order\OrderSetParcelItemsAction
Definition:
OrderSetParcelItemsAction.php:15
Commercetools\Api\Models\Order\OrderSetParcelItemsAction\getItems
getItems()
Commercetools\Api\Models\Order\OrderSetParcelItemsAction\FIELD_ITEMS
const FIELD_ITEMS
Definition:
OrderSetParcelItemsAction.php:18
Commercetools\Api\Models\Order\OrderSetParcelItemsAction\FIELD_PARCEL_KEY
const FIELD_PARCEL_KEY
Definition:
OrderSetParcelItemsAction.php:17
Commercetools\Api\Models\Order\OrderSetParcelItemsAction\setItems
setItems(?DeliveryItemCollection $items)
Commercetools\Api\Models\Order\OrderSetParcelItemsAction\setParcelId
setParcelId(?string $parcelId)
Commercetools\Api\Models\Order\OrderSetParcelItemsAction\setParcelKey
setParcelKey(?string $parcelKey)
Commercetools\Api\Models\Order\OrderSetParcelItemsAction\getParcelKey
getParcelKey()
Commercetools\Api\Models\Order\OrderSetParcelItemsAction\FIELD_PARCEL_ID
const FIELD_PARCEL_ID
Definition:
OrderSetParcelItemsAction.php:16
Commercetools\Api\Models\Order\OrderSetParcelItemsAction\getParcelId
getParcelId()
Commercetools\Api\Models\Order\OrderUpdateAction
Definition:
OrderUpdateAction.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Order
Definition:
CustomLineItemImportDraft.php:9
Generated by
1.9.1