commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-import
src
Models
OrderPatches
ParcelItems.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Import\Models\OrderPatches
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
use
Commercetools\Import\Models\Orders\DeliveryItemCollection
;
14
15
interface
ParcelItems
extends
JsonObject
16
{
17
public
const
FIELD_PARCEL_ID
=
'parcelId'
;
18
public
const
FIELD_ITEMS
=
'items'
;
19
24
public
function
getParcelId
();
25
30
public
function
getItems
();
31
35
public
function
setParcelId
(?
string
$parcelId): void;
36
40
public
function
setItems
(?
DeliveryItemCollection
$items): void;
41
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Import\Models\Orders\DeliveryItemCollection
Definition:
DeliveryItemCollection.php:22
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Import\Models\OrderPatches\ParcelItems
Definition:
ParcelItems.php:16
Commercetools\Import\Models\OrderPatches\ParcelItems\getParcelId
getParcelId()
Commercetools\Import\Models\OrderPatches\ParcelItems\setParcelId
setParcelId(?string $parcelId)
Commercetools\Import\Models\OrderPatches\ParcelItems\FIELD_ITEMS
const FIELD_ITEMS
Definition:
ParcelItems.php:18
Commercetools\Import\Models\OrderPatches\ParcelItems\setItems
setItems(?DeliveryItemCollection $items)
Commercetools\Import\Models\OrderPatches\ParcelItems\getItems
getItems()
Commercetools\Import\Models\OrderPatches\ParcelItems\FIELD_PARCEL_ID
const FIELD_PARCEL_ID
Definition:
ParcelItems.php:17
Commercetools\Import\Models\OrderPatches
Definition:
DeliveryAddressDraft.php:9
Generated by
1.9.1