commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
TaxCategory
TaxRateDraft.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\TaxCategory
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
14
interface
TaxRateDraft
extends
JsonObject
15
{
16
public
const
FIELD_NAME
=
'name'
;
17
public
const
FIELD_AMOUNT
=
'amount'
;
18
public
const
FIELD_INCLUDED_IN_PRICE
=
'includedInPrice'
;
19
public
const
FIELD_COUNTRY
=
'country'
;
20
public
const
FIELD_STATE
=
'state'
;
21
public
const
FIELD_SUB_RATES
=
'subRates'
;
22
public
const
FIELD_KEY
=
'key'
;
23
30
public
function
getName
();
31
40
public
function
getAmount
();
41
48
public
function
getIncludedInPrice
();
49
56
public
function
getCountry
();
57
64
public
function
getState
();
65
73
public
function
getSubRates
();
74
81
public
function
getKey
();
82
86
public
function
setName
(?
string
$name): void;
87
91
public
function
setAmount
(?
float
$amount): void;
92
96
public
function
setIncludedInPrice
(?
bool
$includedInPrice): void;
97
101
public
function
setCountry
(?
string
$country): void;
102
106
public
function
setState
(?
string
$state): void;
107
111
public
function
setSubRates
(?
SubRateCollection
$subRates): void;
112
116
public
function
setKey
(?
string
$key): void;
117
}
Commercetools\Api\Models\TaxCategory\SubRateCollection
Definition:
SubRateCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\TaxCategory\TaxRateDraft
Definition:
TaxRateDraft.php:15
Commercetools\Api\Models\TaxCategory\TaxRateDraft\getAmount
getAmount()
Commercetools\Api\Models\TaxCategory\TaxRateDraft\getState
getState()
Commercetools\Api\Models\TaxCategory\TaxRateDraft\FIELD_SUB_RATES
const FIELD_SUB_RATES
Definition:
TaxRateDraft.php:21
Commercetools\Api\Models\TaxCategory\TaxRateDraft\setSubRates
setSubRates(?SubRateCollection $subRates)
Commercetools\Api\Models\TaxCategory\TaxRateDraft\setAmount
setAmount(?float $amount)
Commercetools\Api\Models\TaxCategory\TaxRateDraft\setState
setState(?string $state)
Commercetools\Api\Models\TaxCategory\TaxRateDraft\setCountry
setCountry(?string $country)
Commercetools\Api\Models\TaxCategory\TaxRateDraft\getSubRates
getSubRates()
Commercetools\Api\Models\TaxCategory\TaxRateDraft\FIELD_AMOUNT
const FIELD_AMOUNT
Definition:
TaxRateDraft.php:17
Commercetools\Api\Models\TaxCategory\TaxRateDraft\getName
getName()
Commercetools\Api\Models\TaxCategory\TaxRateDraft\getCountry
getCountry()
Commercetools\Api\Models\TaxCategory\TaxRateDraft\FIELD_STATE
const FIELD_STATE
Definition:
TaxRateDraft.php:20
Commercetools\Api\Models\TaxCategory\TaxRateDraft\getKey
getKey()
Commercetools\Api\Models\TaxCategory\TaxRateDraft\getIncludedInPrice
getIncludedInPrice()
Commercetools\Api\Models\TaxCategory\TaxRateDraft\FIELD_INCLUDED_IN_PRICE
const FIELD_INCLUDED_IN_PRICE
Definition:
TaxRateDraft.php:18
Commercetools\Api\Models\TaxCategory\TaxRateDraft\FIELD_COUNTRY
const FIELD_COUNTRY
Definition:
TaxRateDraft.php:19
Commercetools\Api\Models\TaxCategory\TaxRateDraft\FIELD_NAME
const FIELD_NAME
Definition:
TaxRateDraft.php:16
Commercetools\Api\Models\TaxCategory\TaxRateDraft\FIELD_KEY
const FIELD_KEY
Definition:
TaxRateDraft.php:22
Commercetools\Api\Models\TaxCategory\TaxRateDraft\setName
setName(?string $name)
Commercetools\Api\Models\TaxCategory\TaxRateDraft\setIncludedInPrice
setIncludedInPrice(?bool $includedInPrice)
Commercetools\Api\Models\TaxCategory\TaxRateDraft\setKey
setKey(?string $key)
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\TaxCategory
Definition:
SubRate.php:9
Generated by
1.9.1