commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Order
OrderAddDeliveryAction.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Order
;
10
11
use
Commercetools\Api\Models\Common\BaseAddress
;
12
use
Commercetools\Api\Models\Type\CustomFieldsDraft
;
13
use
Commercetools\Base\DateTimeImmutableCollection
;
14
use
Commercetools\Base\JsonObject
;
15
16
interface
OrderAddDeliveryAction
extends
OrderUpdateAction
17
{
18
public
const
FIELD_DELIVERY_KEY
=
'deliveryKey'
;
19
public
const
FIELD_SHIPPING_KEY
=
'shippingKey'
;
20
public
const
FIELD_ITEMS
=
'items'
;
21
public
const
FIELD_ADDRESS
=
'address'
;
22
public
const
FIELD_PARCELS
=
'parcels'
;
23
public
const
FIELD_CUSTOM
=
'custom'
;
24
31
public
function
getDeliveryKey
();
32
39
public
function
getShippingKey
();
40
47
public
function
getItems
();
48
55
public
function
getAddress
();
56
64
public
function
getParcels
();
65
72
public
function
getCustom
();
73
77
public
function
setDeliveryKey
(?
string
$deliveryKey): void;
78
82
public
function
setShippingKey
(?
string
$shippingKey): void;
83
87
public
function
setItems
(?
DeliveryItemCollection
$items): void;
88
92
public
function
setAddress
(?
BaseAddress
$address): void;
93
97
public
function
setParcels
(?
ParcelDraftCollection
$parcels): void;
98
102
public
function
setCustom
(?
CustomFieldsDraft
$custom): void;
103
}
Commercetools\Api\Models\Order\DeliveryItemCollection
Definition:
DeliveryItemCollection.php:22
Commercetools\Api\Models\Order\ParcelDraftCollection
Definition:
ParcelDraftCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Common\BaseAddress
Definition:
BaseAddress.php:15
Commercetools\Api\Models\Order\OrderAddDeliveryAction
Definition:
OrderAddDeliveryAction.php:17
Commercetools\Api\Models\Order\OrderAddDeliveryAction\FIELD_PARCELS
const FIELD_PARCELS
Definition:
OrderAddDeliveryAction.php:22
Commercetools\Api\Models\Order\OrderAddDeliveryAction\setParcels
setParcels(?ParcelDraftCollection $parcels)
Commercetools\Api\Models\Order\OrderAddDeliveryAction\setAddress
setAddress(?BaseAddress $address)
Commercetools\Api\Models\Order\OrderAddDeliveryAction\FIELD_ITEMS
const FIELD_ITEMS
Definition:
OrderAddDeliveryAction.php:20
Commercetools\Api\Models\Order\OrderAddDeliveryAction\FIELD_ADDRESS
const FIELD_ADDRESS
Definition:
OrderAddDeliveryAction.php:21
Commercetools\Api\Models\Order\OrderAddDeliveryAction\getItems
getItems()
Commercetools\Api\Models\Order\OrderAddDeliveryAction\getShippingKey
getShippingKey()
Commercetools\Api\Models\Order\OrderAddDeliveryAction\setShippingKey
setShippingKey(?string $shippingKey)
Commercetools\Api\Models\Order\OrderAddDeliveryAction\FIELD_DELIVERY_KEY
const FIELD_DELIVERY_KEY
Definition:
OrderAddDeliveryAction.php:18
Commercetools\Api\Models\Order\OrderAddDeliveryAction\getCustom
getCustom()
Commercetools\Api\Models\Order\OrderAddDeliveryAction\getParcels
getParcels()
Commercetools\Api\Models\Order\OrderAddDeliveryAction\setCustom
setCustom(?CustomFieldsDraft $custom)
Commercetools\Api\Models\Order\OrderAddDeliveryAction\FIELD_SHIPPING_KEY
const FIELD_SHIPPING_KEY
Definition:
OrderAddDeliveryAction.php:19
Commercetools\Api\Models\Order\OrderAddDeliveryAction\setDeliveryKey
setDeliveryKey(?string $deliveryKey)
Commercetools\Api\Models\Order\OrderAddDeliveryAction\getDeliveryKey
getDeliveryKey()
Commercetools\Api\Models\Order\OrderAddDeliveryAction\setItems
setItems(?DeliveryItemCollection $items)
Commercetools\Api\Models\Order\OrderAddDeliveryAction\getAddress
getAddress()
Commercetools\Api\Models\Order\OrderAddDeliveryAction\FIELD_CUSTOM
const FIELD_CUSTOM
Definition:
OrderAddDeliveryAction.php:23
Commercetools\Api\Models\Order\OrderUpdateAction
Definition:
OrderUpdateAction.php:15
Commercetools\Api\Models\Type\CustomFieldsDraft
Definition:
CustomFieldsDraft.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Order
Definition:
CustomLineItemImportDraft.php:9
Generated by
1.9.1