commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Cart
CartSetShippingMethodAction.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Cart
;
10
11
use
Commercetools\Api\Models\ShippingMethod\ShippingMethodResourceIdentifier
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
CartSetShippingMethodAction
extends
CartUpdateAction
16
{
17
public
const
FIELD_SHIPPING_METHOD
=
'shippingMethod'
;
18
public
const
FIELD_EXTERNAL_TAX_RATE
=
'externalTaxRate'
;
19
28
public
function
getShippingMethod
();
29
36
public
function
getExternalTaxRate
();
37
41
public
function
setShippingMethod
(?
ShippingMethodResourceIdentifier
$shippingMethod): void;
42
46
public
function
setExternalTaxRate
(?
ExternalTaxRateDraft
$externalTaxRate): void;
47
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Cart\CartSetShippingMethodAction
Definition:
CartSetShippingMethodAction.php:16
Commercetools\Api\Models\Cart\CartSetShippingMethodAction\setExternalTaxRate
setExternalTaxRate(?ExternalTaxRateDraft $externalTaxRate)
Commercetools\Api\Models\Cart\CartSetShippingMethodAction\getExternalTaxRate
getExternalTaxRate()
Commercetools\Api\Models\Cart\CartSetShippingMethodAction\FIELD_SHIPPING_METHOD
const FIELD_SHIPPING_METHOD
Definition:
CartSetShippingMethodAction.php:17
Commercetools\Api\Models\Cart\CartSetShippingMethodAction\FIELD_EXTERNAL_TAX_RATE
const FIELD_EXTERNAL_TAX_RATE
Definition:
CartSetShippingMethodAction.php:18
Commercetools\Api\Models\Cart\CartSetShippingMethodAction\getShippingMethod
getShippingMethod()
Commercetools\Api\Models\Cart\CartSetShippingMethodAction\setShippingMethod
setShippingMethod(?ShippingMethodResourceIdentifier $shippingMethod)
Commercetools\Api\Models\Cart\CartUpdateAction
Definition:
CartUpdateAction.php:15
Commercetools\Api\Models\Cart\ExternalTaxRateDraft
Definition:
ExternalTaxRateDraft.php:16
Commercetools\Api\Models\ShippingMethod\ShippingMethodResourceIdentifier
Definition:
ShippingMethodResourceIdentifier.php:16
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Cart
Definition:
Cart.php:9
Generated by
1.9.1