commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Cart
MethodExternalTaxRateDraft.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Cart
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
14
interface
MethodExternalTaxRateDraft
extends
JsonObject
15
{
16
public
const
FIELD_SHIPPING_METHOD_KEY
=
'shippingMethodKey'
;
17
public
const
FIELD_TAX_RATE
=
'taxRate'
;
18
25
public
function
getShippingMethodKey
();
26
33
public
function
getTaxRate
();
34
38
public
function
setShippingMethodKey
(?
string
$shippingMethodKey): void;
39
43
public
function
setTaxRate
(?
ExternalTaxRateDraft
$taxRate): void;
44
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Cart\ExternalTaxRateDraft
Definition:
ExternalTaxRateDraft.php:16
Commercetools\Api\Models\Cart\MethodExternalTaxRateDraft
Definition:
MethodExternalTaxRateDraft.php:15
Commercetools\Api\Models\Cart\MethodExternalTaxRateDraft\FIELD_TAX_RATE
const FIELD_TAX_RATE
Definition:
MethodExternalTaxRateDraft.php:17
Commercetools\Api\Models\Cart\MethodExternalTaxRateDraft\setTaxRate
setTaxRate(?ExternalTaxRateDraft $taxRate)
Commercetools\Api\Models\Cart\MethodExternalTaxRateDraft\FIELD_SHIPPING_METHOD_KEY
const FIELD_SHIPPING_METHOD_KEY
Definition:
MethodExternalTaxRateDraft.php:16
Commercetools\Api\Models\Cart\MethodExternalTaxRateDraft\setShippingMethodKey
setShippingMethodKey(?string $shippingMethodKey)
Commercetools\Api\Models\Cart\MethodExternalTaxRateDraft\getTaxRate
getTaxRate()
Commercetools\Api\Models\Cart\MethodExternalTaxRateDraft\getShippingMethodKey
getShippingMethodKey()
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Cart
Definition:
Cart.php:9
Generated by
1.9.1