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