commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Cart
CartSetCustomShippingMethodAction.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Cart
;
10
11
use
Commercetools\Api\Models\ShippingMethod\ShippingRateDraft
;
12
use
Commercetools\Api\Models\TaxCategory\TaxCategoryResourceIdentifier
;
13
use
Commercetools\Base\DateTimeImmutableCollection
;
14
use
Commercetools\Base\JsonObject
;
15
16
interface
CartSetCustomShippingMethodAction
extends
CartUpdateAction
17
{
18
public
const
FIELD_SHIPPING_METHOD_NAME
=
'shippingMethodName'
;
19
public
const
FIELD_SHIPPING_RATE
=
'shippingRate'
;
20
public
const
FIELD_TAX_CATEGORY
=
'taxCategory'
;
21
public
const
FIELD_EXTERNAL_TAX_RATE
=
'externalTaxRate'
;
22
29
public
function
getShippingMethodName
();
30
37
public
function
getShippingRate
();
38
45
public
function
getTaxCategory
();
46
53
public
function
getExternalTaxRate
();
54
58
public
function
setShippingMethodName
(?
string
$shippingMethodName): void;
59
63
public
function
setShippingRate
(?
ShippingRateDraft
$shippingRate): void;
64
68
public
function
setTaxCategory
(?
TaxCategoryResourceIdentifier
$taxCategory): void;
69
73
public
function
setExternalTaxRate
(?
ExternalTaxRateDraft
$externalTaxRate): void;
74
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Cart\CartSetCustomShippingMethodAction
Definition:
CartSetCustomShippingMethodAction.php:17
Commercetools\Api\Models\Cart\CartSetCustomShippingMethodAction\getShippingRate
getShippingRate()
Commercetools\Api\Models\Cart\CartSetCustomShippingMethodAction\FIELD_SHIPPING_RATE
const FIELD_SHIPPING_RATE
Definition:
CartSetCustomShippingMethodAction.php:19
Commercetools\Api\Models\Cart\CartSetCustomShippingMethodAction\setShippingMethodName
setShippingMethodName(?string $shippingMethodName)
Commercetools\Api\Models\Cart\CartSetCustomShippingMethodAction\getTaxCategory
getTaxCategory()
Commercetools\Api\Models\Cart\CartSetCustomShippingMethodAction\getExternalTaxRate
getExternalTaxRate()
Commercetools\Api\Models\Cart\CartSetCustomShippingMethodAction\setTaxCategory
setTaxCategory(?TaxCategoryResourceIdentifier $taxCategory)
Commercetools\Api\Models\Cart\CartSetCustomShippingMethodAction\setShippingRate
setShippingRate(?ShippingRateDraft $shippingRate)
Commercetools\Api\Models\Cart\CartSetCustomShippingMethodAction\FIELD_SHIPPING_METHOD_NAME
const FIELD_SHIPPING_METHOD_NAME
Definition:
CartSetCustomShippingMethodAction.php:18
Commercetools\Api\Models\Cart\CartSetCustomShippingMethodAction\FIELD_TAX_CATEGORY
const FIELD_TAX_CATEGORY
Definition:
CartSetCustomShippingMethodAction.php:20
Commercetools\Api\Models\Cart\CartSetCustomShippingMethodAction\FIELD_EXTERNAL_TAX_RATE
const FIELD_EXTERNAL_TAX_RATE
Definition:
CartSetCustomShippingMethodAction.php:21
Commercetools\Api\Models\Cart\CartSetCustomShippingMethodAction\getShippingMethodName
getShippingMethodName()
Commercetools\Api\Models\Cart\CartSetCustomShippingMethodAction\setExternalTaxRate
setExternalTaxRate(?ExternalTaxRateDraft $externalTaxRate)
Commercetools\Api\Models\Cart\CartUpdateAction
Definition:
CartUpdateAction.php:15
Commercetools\Api\Models\Cart\ExternalTaxRateDraft
Definition:
ExternalTaxRateDraft.php:16
Commercetools\Api\Models\ShippingMethod\ShippingRateDraft
Definition:
ShippingRateDraft.php:16
Commercetools\Api\Models\TaxCategory\TaxCategoryResourceIdentifier
Definition:
TaxCategoryResourceIdentifier.php:16
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Cart
Definition:
Cart.php:9
Generated by
1.9.1