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