commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
ProductTailoring
ProductTailoring.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\ProductTailoring
;
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\Api\Models\Product\ProductReference
;
15
use
Commercetools\Api\Models\Store\StoreKeyReference
;
16
use
Commercetools\Api\Models\Warning\WarningObjectCollection
;
17
use
Commercetools\Base\DateTimeImmutableCollection
;
18
use
Commercetools\Base\JsonObject
;
19
use DateTimeImmutable;
20
21
interface
ProductTailoring
extends
BaseResource
22
{
23
public
const
FIELD_LAST_MODIFIED_BY
=
'lastModifiedBy'
;
24
public
const
FIELD_CREATED_BY
=
'createdBy'
;
25
public
const
FIELD_KEY
=
'key'
;
26
public
const
FIELD_STORE
=
'store'
;
27
public
const
FIELD_PRODUCT
=
'product'
;
28
public
const
FIELD_PUBLISHED
=
'published'
;
29
public
const
FIELD_CURRENT
=
'current'
;
30
public
const
FIELD_STAGED
=
'staged'
;
31
public
const
FIELD_HAS_STAGED_CHANGES
=
'hasStagedChanges'
;
32
public
const
FIELD_WARNINGS
=
'warnings'
;
33
40
public
function
getId
();
41
48
public
function
getVersion
();
49
56
public
function
getCreatedAt
();
57
64
public
function
getLastModifiedAt
();
65
72
public
function
getLastModifiedBy
();
73
80
public
function
getCreatedBy
();
81
88
public
function
getKey
();
89
96
public
function
getStore
();
97
104
public
function
getProduct
();
105
112
public
function
getPublished
();
113
120
public
function
getCurrent
();
121
128
public
function
getStaged
();
129
136
public
function
getHasStagedChanges
();
137
145
public
function
getWarnings
();
146
150
public
function
setId
(?
string
$id): void;
151
155
public
function
setVersion
(?
int
$version): void;
156
160
public
function
setCreatedAt
(?DateTimeImmutable $createdAt): void;
161
165
public
function
setLastModifiedAt
(?DateTimeImmutable $lastModifiedAt): void;
166
170
public
function
setLastModifiedBy
(?
LastModifiedBy
$lastModifiedBy): void;
171
175
public
function
setCreatedBy
(?
CreatedBy
$createdBy): void;
176
180
public
function
setKey
(?
string
$key): void;
181
185
public
function
setStore
(?
StoreKeyReference
$store): void;
186
190
public
function
setProduct
(?
ProductReference
$product): void;
191
195
public
function
setPublished
(?
bool
$published): void;
196
200
public
function
setCurrent
(?
ProductTailoringData
$current): void;
201
205
public
function
setStaged
(?
ProductTailoringData
$staged): void;
206
210
public
function
setHasStagedChanges
(?
bool
$hasStagedChanges): void;
211
215
public
function
setWarnings
(?
WarningObjectCollection
$warnings): void;
216
}
Commercetools\Api\Models\Warning\WarningObjectCollection
Definition:
WarningObjectCollection.php:26
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\Product\ProductReference
Definition:
ProductReference.php:16
Commercetools\Api\Models\ProductTailoring\ProductTailoringData
Definition:
ProductTailoringData.php:16
Commercetools\Api\Models\ProductTailoring\ProductTailoring
Definition:
ProductTailoring.php:22
Commercetools\Api\Models\ProductTailoring\ProductTailoring\getPublished
getPublished()
Commercetools\Api\Models\ProductTailoring\ProductTailoring\FIELD_HAS_STAGED_CHANGES
const FIELD_HAS_STAGED_CHANGES
Definition:
ProductTailoring.php:31
Commercetools\Api\Models\ProductTailoring\ProductTailoring\setStaged
setStaged(?ProductTailoringData $staged)
Commercetools\Api\Models\ProductTailoring\ProductTailoring\setLastModifiedBy
setLastModifiedBy(?LastModifiedBy $lastModifiedBy)
Commercetools\Api\Models\ProductTailoring\ProductTailoring\setWarnings
setWarnings(?WarningObjectCollection $warnings)
Commercetools\Api\Models\ProductTailoring\ProductTailoring\setPublished
setPublished(?bool $published)
Commercetools\Api\Models\ProductTailoring\ProductTailoring\FIELD_LAST_MODIFIED_BY
const FIELD_LAST_MODIFIED_BY
Definition:
ProductTailoring.php:23
Commercetools\Api\Models\ProductTailoring\ProductTailoring\getCurrent
getCurrent()
Commercetools\Api\Models\ProductTailoring\ProductTailoring\FIELD_KEY
const FIELD_KEY
Definition:
ProductTailoring.php:25
Commercetools\Api\Models\ProductTailoring\ProductTailoring\FIELD_STAGED
const FIELD_STAGED
Definition:
ProductTailoring.php:30
Commercetools\Api\Models\ProductTailoring\ProductTailoring\FIELD_PRODUCT
const FIELD_PRODUCT
Definition:
ProductTailoring.php:27
Commercetools\Api\Models\ProductTailoring\ProductTailoring\getCreatedBy
getCreatedBy()
Commercetools\Api\Models\ProductTailoring\ProductTailoring\FIELD_PUBLISHED
const FIELD_PUBLISHED
Definition:
ProductTailoring.php:28
Commercetools\Api\Models\ProductTailoring\ProductTailoring\setCreatedBy
setCreatedBy(?CreatedBy $createdBy)
Commercetools\Api\Models\ProductTailoring\ProductTailoring\setKey
setKey(?string $key)
Commercetools\Api\Models\ProductTailoring\ProductTailoring\FIELD_STORE
const FIELD_STORE
Definition:
ProductTailoring.php:26
Commercetools\Api\Models\ProductTailoring\ProductTailoring\setLastModifiedAt
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)
Commercetools\Api\Models\ProductTailoring\ProductTailoring\setHasStagedChanges
setHasStagedChanges(?bool $hasStagedChanges)
Commercetools\Api\Models\ProductTailoring\ProductTailoring\setCreatedAt
setCreatedAt(?DateTimeImmutable $createdAt)
Commercetools\Api\Models\ProductTailoring\ProductTailoring\getWarnings
getWarnings()
Commercetools\Api\Models\ProductTailoring\ProductTailoring\getLastModifiedAt
getLastModifiedAt()
Commercetools\Api\Models\ProductTailoring\ProductTailoring\getKey
getKey()
Commercetools\Api\Models\ProductTailoring\ProductTailoring\FIELD_CURRENT
const FIELD_CURRENT
Definition:
ProductTailoring.php:29
Commercetools\Api\Models\ProductTailoring\ProductTailoring\setCurrent
setCurrent(?ProductTailoringData $current)
Commercetools\Api\Models\ProductTailoring\ProductTailoring\getVersion
getVersion()
Commercetools\Api\Models\ProductTailoring\ProductTailoring\getId
getId()
Commercetools\Api\Models\ProductTailoring\ProductTailoring\getStaged
getStaged()
Commercetools\Api\Models\ProductTailoring\ProductTailoring\getHasStagedChanges
getHasStagedChanges()
Commercetools\Api\Models\ProductTailoring\ProductTailoring\FIELD_CREATED_BY
const FIELD_CREATED_BY
Definition:
ProductTailoring.php:24
Commercetools\Api\Models\ProductTailoring\ProductTailoring\getLastModifiedBy
getLastModifiedBy()
Commercetools\Api\Models\ProductTailoring\ProductTailoring\FIELD_WARNINGS
const FIELD_WARNINGS
Definition:
ProductTailoring.php:32
Commercetools\Api\Models\ProductTailoring\ProductTailoring\getProduct
getProduct()
Commercetools\Api\Models\ProductTailoring\ProductTailoring\getCreatedAt
getCreatedAt()
Commercetools\Api\Models\ProductTailoring\ProductTailoring\setVersion
setVersion(?int $version)
Commercetools\Api\Models\ProductTailoring\ProductTailoring\setStore
setStore(?StoreKeyReference $store)
Commercetools\Api\Models\ProductTailoring\ProductTailoring\setId
setId(?string $id)
Commercetools\Api\Models\ProductTailoring\ProductTailoring\setProduct
setProduct(?ProductReference $product)
Commercetools\Api\Models\ProductTailoring\ProductTailoring\getStore
getStore()
Commercetools\Api\Models\Store\StoreKeyReference
Definition:
StoreKeyReference.php:16
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\ProductTailoring
Definition:
ProductTailoring.php:9
Generated by
1.9.1