commercetools-sdk-php-v2
master
The platform, import-api and ml-api PHP sdks generated from our api reference.
lib
commercetools-import
src
Models
Prices
TaxRate.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Import\Models\Prices
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
14
interface
TaxRate
extends
JsonObject
15
{
16
public
const
FIELD_ID
=
'id'
;
17
public
const
FIELD_NAME
=
'name'
;
18
public
const
FIELD_AMOUNT
=
'amount'
;
19
public
const
FIELD_INCLUDED_IN_PRICE
=
'includedInPrice'
;
20
public
const
FIELD_COUNTRY
=
'country'
;
21
public
const
FIELD_STATE
=
'state'
;
22
public
const
FIELD_SUB_RATES
=
'subRates'
;
23
28
public
function
getId
();
29
34
public
function
getName
();
35
40
public
function
getAmount
();
41
46
public
function
getIncludedInPrice
();
47
54
public
function
getCountry
();
55
60
public
function
getState
();
61
66
public
function
getSubRates
();
67
71
public
function
setId
(?
string
$id): void;
72
76
public
function
setName
(?
string
$name): void;
77
81
public
function
setAmount
(?
float
$amount): void;
82
86
public
function
setIncludedInPrice
(?
bool
$includedInPrice): void;
87
91
public
function
setCountry
(?
string
$country): void;
92
96
public
function
setState
(?
string
$state): void;
97
101
public
function
setSubRates
(?
SubRateCollection
$subRates): void;
102
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Import\Models\Prices\SubRateCollection
Definition:
SubRateCollection.php:22
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Import\Models\Prices\TaxRate
Definition:
TaxRate.php:15
Commercetools\Import\Models\Prices\TaxRate\setName
setName(?string $name)
Commercetools\Import\Models\Prices\TaxRate\getId
getId()
Commercetools\Import\Models\Prices\TaxRate\getName
getName()
Commercetools\Import\Models\Prices\TaxRate\setIncludedInPrice
setIncludedInPrice(?bool $includedInPrice)
Commercetools\Import\Models\Prices\TaxRate\getCountry
getCountry()
Commercetools\Import\Models\Prices\TaxRate\getIncludedInPrice
getIncludedInPrice()
Commercetools\Import\Models\Prices\TaxRate\setSubRates
setSubRates(?SubRateCollection $subRates)
Commercetools\Import\Models\Prices\TaxRate\getAmount
getAmount()
Commercetools\Import\Models\Prices\TaxRate\FIELD_SUB_RATES
const FIELD_SUB_RATES
Definition:
TaxRate.php:22
Commercetools\Import\Models\Prices\TaxRate\FIELD_AMOUNT
const FIELD_AMOUNT
Definition:
TaxRate.php:18
Commercetools\Import\Models\Prices\TaxRate\setState
setState(?string $state)
Commercetools\Import\Models\Prices\TaxRate\FIELD_COUNTRY
const FIELD_COUNTRY
Definition:
TaxRate.php:20
Commercetools\Import\Models\Prices\TaxRate\FIELD_INCLUDED_IN_PRICE
const FIELD_INCLUDED_IN_PRICE
Definition:
TaxRate.php:19
Commercetools\Import\Models\Prices\TaxRate\getSubRates
getSubRates()
Commercetools\Import\Models\Prices\TaxRate\setId
setId(?string $id)
Commercetools\Import\Models\Prices\TaxRate\FIELD_NAME
const FIELD_NAME
Definition:
TaxRate.php:17
Commercetools\Import\Models\Prices\TaxRate\setCountry
setCountry(?string $country)
Commercetools\Import\Models\Prices\TaxRate\FIELD_STATE
const FIELD_STATE
Definition:
TaxRate.php:21
Commercetools\Import\Models\Prices\TaxRate\FIELD_ID
const FIELD_ID
Definition:
TaxRate.php:16
Commercetools\Import\Models\Prices\TaxRate\setAmount
setAmount(?float $amount)
Commercetools\Import\Models\Prices\TaxRate\getState
getState()
Commercetools\Import\Models\Prices
Definition:
PriceImport.php:9
Generated by
1.9.1