commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
TaxCategory
TaxCategoryDraft.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
TaxCategoryDraft
extends
JsonObject
15
{
16
public
const
FIELD_NAME
=
'name'
;
17
public
const
FIELD_DESCRIPTION
=
'description'
;
18
public
const
FIELD_RATES
=
'rates'
;
19
public
const
FIELD_KEY
=
'key'
;
20
27
public
function
getName
();
28
35
public
function
getDescription
();
36
43
public
function
getRates
();
44
51
public
function
getKey
();
52
56
public
function
setName
(?
string
$name): void;
57
61
public
function
setDescription
(?
string
$description): void;
62
66
public
function
setRates
(?
TaxRateDraftCollection
$rates): void;
67
71
public
function
setKey
(?
string
$key): void;
72
}
Commercetools\Api\Models\TaxCategory\TaxRateDraftCollection
Definition:
TaxRateDraftCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\TaxCategory\TaxCategoryDraft
Definition:
TaxCategoryDraft.php:15
Commercetools\Api\Models\TaxCategory\TaxCategoryDraft\FIELD_DESCRIPTION
const FIELD_DESCRIPTION
Definition:
TaxCategoryDraft.php:17
Commercetools\Api\Models\TaxCategory\TaxCategoryDraft\setDescription
setDescription(?string $description)
Commercetools\Api\Models\TaxCategory\TaxCategoryDraft\FIELD_KEY
const FIELD_KEY
Definition:
TaxCategoryDraft.php:19
Commercetools\Api\Models\TaxCategory\TaxCategoryDraft\FIELD_NAME
const FIELD_NAME
Definition:
TaxCategoryDraft.php:16
Commercetools\Api\Models\TaxCategory\TaxCategoryDraft\setName
setName(?string $name)
Commercetools\Api\Models\TaxCategory\TaxCategoryDraft\setRates
setRates(?TaxRateDraftCollection $rates)
Commercetools\Api\Models\TaxCategory\TaxCategoryDraft\getKey
getKey()
Commercetools\Api\Models\TaxCategory\TaxCategoryDraft\FIELD_RATES
const FIELD_RATES
Definition:
TaxCategoryDraft.php:18
Commercetools\Api\Models\TaxCategory\TaxCategoryDraft\setKey
setKey(?string $key)
Commercetools\Api\Models\TaxCategory\TaxCategoryDraft\getName
getName()
Commercetools\Api\Models\TaxCategory\TaxCategoryDraft\getRates
getRates()
Commercetools\Api\Models\TaxCategory\TaxCategoryDraft\getDescription
getDescription()
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\TaxCategory
Definition:
SubRate.php:9
Generated by
1.9.1