commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
TaxCategory
TaxCategory.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\TaxCategory
;
10
11
use
Commercetools\Api\Models\Common\BaseResource
;
12
use
Commercetools\Api\Models\Common\CreatedBy
;
13
use
Commercetools\Api\Models\Common\LastModifiedBy
;
14
use
Commercetools\Base\DateTimeImmutableCollection
;
15
use
Commercetools\Base\JsonObject
;
16
use DateTimeImmutable;
17
18
interface
TaxCategory
extends
BaseResource
19
{
20
public
const
FIELD_LAST_MODIFIED_BY
=
'lastModifiedBy'
;
21
public
const
FIELD_CREATED_BY
=
'createdBy'
;
22
public
const
FIELD_NAME
=
'name'
;
23
public
const
FIELD_DESCRIPTION
=
'description'
;
24
public
const
FIELD_RATES
=
'rates'
;
25
public
const
FIELD_KEY
=
'key'
;
26
33
public
function
getId
();
34
41
public
function
getVersion
();
42
49
public
function
getCreatedAt
();
50
57
public
function
getLastModifiedAt
();
58
65
public
function
getLastModifiedBy
();
66
73
public
function
getCreatedBy
();
74
81
public
function
getName
();
82
89
public
function
getDescription
();
90
97
public
function
getRates
();
98
105
public
function
getKey
();
106
110
public
function
setId
(?
string
$id): void;
111
115
public
function
setVersion
(?
int
$version): void;
116
120
public
function
setCreatedAt
(?DateTimeImmutable $createdAt): void;
121
125
public
function
setLastModifiedAt
(?DateTimeImmutable $lastModifiedAt): void;
126
130
public
function
setLastModifiedBy
(?
LastModifiedBy
$lastModifiedBy): void;
131
135
public
function
setCreatedBy
(?
CreatedBy
$createdBy): void;
136
140
public
function
setName
(?
string
$name): void;
141
145
public
function
setDescription
(?
string
$description): void;
146
150
public
function
setRates
(?
TaxRateCollection
$rates): void;
151
155
public
function
setKey
(?
string
$key): void;
156
}
Commercetools\Api\Models\TaxCategory\TaxRateCollection
Definition:
TaxRateCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Common\BaseResource
Definition:
BaseResource.php:249
Commercetools\Api\Models\Common\CreatedBy
Definition:
CreatedBy.php:16
Commercetools\Api\Models\Common\LastModifiedBy
Definition:
LastModifiedBy.php:16
Commercetools\Api\Models\TaxCategory\TaxCategory
Definition:
TaxCategory.php:19
Commercetools\Api\Models\TaxCategory\TaxCategory\getLastModifiedAt
getLastModifiedAt()
Commercetools\Api\Models\TaxCategory\TaxCategory\getLastModifiedBy
getLastModifiedBy()
Commercetools\Api\Models\TaxCategory\TaxCategory\FIELD_NAME
const FIELD_NAME
Definition:
TaxCategory.php:22
Commercetools\Api\Models\TaxCategory\TaxCategory\getName
getName()
Commercetools\Api\Models\TaxCategory\TaxCategory\setLastModifiedAt
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)
Commercetools\Api\Models\TaxCategory\TaxCategory\setKey
setKey(?string $key)
Commercetools\Api\Models\TaxCategory\TaxCategory\getId
getId()
Commercetools\Api\Models\TaxCategory\TaxCategory\FIELD_DESCRIPTION
const FIELD_DESCRIPTION
Definition:
TaxCategory.php:23
Commercetools\Api\Models\TaxCategory\TaxCategory\setVersion
setVersion(?int $version)
Commercetools\Api\Models\TaxCategory\TaxCategory\setLastModifiedBy
setLastModifiedBy(?LastModifiedBy $lastModifiedBy)
Commercetools\Api\Models\TaxCategory\TaxCategory\FIELD_RATES
const FIELD_RATES
Definition:
TaxCategory.php:24
Commercetools\Api\Models\TaxCategory\TaxCategory\getDescription
getDescription()
Commercetools\Api\Models\TaxCategory\TaxCategory\FIELD_KEY
const FIELD_KEY
Definition:
TaxCategory.php:25
Commercetools\Api\Models\TaxCategory\TaxCategory\getRates
getRates()
Commercetools\Api\Models\TaxCategory\TaxCategory\setName
setName(?string $name)
Commercetools\Api\Models\TaxCategory\TaxCategory\getCreatedAt
getCreatedAt()
Commercetools\Api\Models\TaxCategory\TaxCategory\setCreatedAt
setCreatedAt(?DateTimeImmutable $createdAt)
Commercetools\Api\Models\TaxCategory\TaxCategory\getVersion
getVersion()
Commercetools\Api\Models\TaxCategory\TaxCategory\setId
setId(?string $id)
Commercetools\Api\Models\TaxCategory\TaxCategory\setDescription
setDescription(?string $description)
Commercetools\Api\Models\TaxCategory\TaxCategory\FIELD_CREATED_BY
const FIELD_CREATED_BY
Definition:
TaxCategory.php:21
Commercetools\Api\Models\TaxCategory\TaxCategory\setCreatedBy
setCreatedBy(?CreatedBy $createdBy)
Commercetools\Api\Models\TaxCategory\TaxCategory\getCreatedBy
getCreatedBy()
Commercetools\Api\Models\TaxCategory\TaxCategory\getKey
getKey()
Commercetools\Api\Models\TaxCategory\TaxCategory\FIELD_LAST_MODIFIED_BY
const FIELD_LAST_MODIFIED_BY
Definition:
TaxCategory.php:20
Commercetools\Api\Models\TaxCategory\TaxCategory\setRates
setRates(?TaxRateCollection $rates)
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\TaxCategory
Definition:
SubRate.php:9
Generated by
1.9.1