commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Cart
Shipping.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Cart
;
10
11
use
Commercetools\Api\Models\Common\Address
;
12
use
Commercetools\Api\Models\Type\CustomFields
;
13
use
Commercetools\Base\DateTimeImmutableCollection
;
14
use
Commercetools\Base\JsonObject
;
15
16
interface
Shipping
extends
JsonObject
17
{
18
public
const
FIELD_SHIPPING_KEY
=
'shippingKey'
;
19
public
const
FIELD_SHIPPING_INFO
=
'shippingInfo'
;
20
public
const
FIELD_SHIPPING_ADDRESS
=
'shippingAddress'
;
21
public
const
FIELD_SHIPPING_RATE_INPUT
=
'shippingRateInput'
;
22
public
const
FIELD_SHIPPING_CUSTOM_FIELDS
=
'shippingCustomFields'
;
23
30
public
function
getShippingKey
();
31
38
public
function
getShippingInfo
();
39
46
public
function
getShippingAddress
();
47
60
public
function
getShippingRateInput
();
61
68
public
function
getShippingCustomFields
();
69
73
public
function
setShippingKey
(?
string
$shippingKey): void;
74
78
public
function
setShippingInfo
(?
ShippingInfo
$shippingInfo): void;
79
83
public
function
setShippingAddress
(?
Address
$shippingAddress): void;
84
88
public
function
setShippingRateInput
(?
ShippingRateInput
$shippingRateInput): void;
89
93
public
function
setShippingCustomFields
(?
CustomFields
$shippingCustomFields): void;
94
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Cart\Shipping
Definition:
Shipping.php:17
Commercetools\Api\Models\Cart\Shipping\setShippingRateInput
setShippingRateInput(?ShippingRateInput $shippingRateInput)
Commercetools\Api\Models\Cart\Shipping\FIELD_SHIPPING_ADDRESS
const FIELD_SHIPPING_ADDRESS
Definition:
Shipping.php:20
Commercetools\Api\Models\Cart\Shipping\getShippingKey
getShippingKey()
Commercetools\Api\Models\Cart\Shipping\setShippingAddress
setShippingAddress(?Address $shippingAddress)
Commercetools\Api\Models\Cart\Shipping\FIELD_SHIPPING_KEY
const FIELD_SHIPPING_KEY
Definition:
Shipping.php:18
Commercetools\Api\Models\Cart\Shipping\getShippingCustomFields
getShippingCustomFields()
Commercetools\Api\Models\Cart\Shipping\getShippingRateInput
getShippingRateInput()
Commercetools\Api\Models\Cart\Shipping\getShippingInfo
getShippingInfo()
Commercetools\Api\Models\Cart\Shipping\setShippingInfo
setShippingInfo(?ShippingInfo $shippingInfo)
Commercetools\Api\Models\Cart\Shipping\FIELD_SHIPPING_CUSTOM_FIELDS
const FIELD_SHIPPING_CUSTOM_FIELDS
Definition:
Shipping.php:22
Commercetools\Api\Models\Cart\Shipping\FIELD_SHIPPING_INFO
const FIELD_SHIPPING_INFO
Definition:
Shipping.php:19
Commercetools\Api\Models\Cart\Shipping\setShippingCustomFields
setShippingCustomFields(?CustomFields $shippingCustomFields)
Commercetools\Api\Models\Cart\Shipping\FIELD_SHIPPING_RATE_INPUT
const FIELD_SHIPPING_RATE_INPUT
Definition:
Shipping.php:21
Commercetools\Api\Models\Cart\Shipping\setShippingKey
setShippingKey(?string $shippingKey)
Commercetools\Api\Models\Cart\Shipping\getShippingAddress
getShippingAddress()
Commercetools\Api\Models\Cart\ShippingInfo
Definition:
ShippingInfo.php:21
Commercetools\Api\Models\Cart\ShippingRateInput
Definition:
ShippingRateInput.php:15
Commercetools\Api\Models\Common\Address
Definition:
Address.php:16
Commercetools\Api\Models\Type\CustomFields
Definition:
CustomFields.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Cart
Definition:
Cart.php:9
Generated by
1.9.1