commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
ProductSelection
ProductSelection.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\ProductSelection
;
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\Common\LocalizedString
;
15
use
Commercetools\Api\Models\Type\CustomFields
;
16
use
Commercetools\Base\DateTimeImmutableCollection
;
17
use
Commercetools\Base\JsonObject
;
18
use DateTimeImmutable;
19
20
interface
ProductSelection
extends
BaseResource
21
{
22
public
const
FIELD_LAST_MODIFIED_BY
=
'lastModifiedBy'
;
23
public
const
FIELD_CREATED_BY
=
'createdBy'
;
24
public
const
FIELD_KEY
=
'key'
;
25
public
const
FIELD_NAME
=
'name'
;
26
public
const
FIELD_PRODUCT_COUNT
=
'productCount'
;
27
public
const
FIELD_MODE
=
'mode'
;
28
public
const
FIELD_CUSTOM
=
'custom'
;
29
36
public
function
getId
();
37
44
public
function
getVersion
();
45
52
public
function
getCreatedAt
();
53
60
public
function
getLastModifiedAt
();
61
68
public
function
getLastModifiedBy
();
69
76
public
function
getCreatedBy
();
77
84
public
function
getKey
();
85
92
public
function
getName
();
93
100
public
function
getProductCount
();
101
109
public
function
getMode
();
110
117
public
function
getCustom
();
118
122
public
function
setId
(?
string
$id): void;
123
127
public
function
setVersion
(?
int
$version): void;
128
132
public
function
setCreatedAt
(?DateTimeImmutable $createdAt): void;
133
137
public
function
setLastModifiedAt
(?DateTimeImmutable $lastModifiedAt): void;
138
142
public
function
setLastModifiedBy
(?
LastModifiedBy
$lastModifiedBy): void;
143
147
public
function
setCreatedBy
(?
CreatedBy
$createdBy): void;
148
152
public
function
setKey
(?
string
$key): void;
153
157
public
function
setName
(?
LocalizedString
$name): void;
158
162
public
function
setProductCount
(?
int
$productCount): void;
163
167
public
function
setMode
(?
string
$mode): void;
168
172
public
function
setCustom
(?
CustomFields
$custom): void;
173
}
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\Common\LocalizedString
Definition:
LocalizedString.php:14
Commercetools\Api\Models\ProductSelection\ProductSelection
Definition:
ProductSelection.php:21
Commercetools\Api\Models\ProductSelection\ProductSelection\getCreatedAt
getCreatedAt()
Commercetools\Api\Models\ProductSelection\ProductSelection\setCustom
setCustom(?CustomFields $custom)
Commercetools\Api\Models\ProductSelection\ProductSelection\setVersion
setVersion(?int $version)
Commercetools\Api\Models\ProductSelection\ProductSelection\FIELD_CUSTOM
const FIELD_CUSTOM
Definition:
ProductSelection.php:28
Commercetools\Api\Models\ProductSelection\ProductSelection\FIELD_NAME
const FIELD_NAME
Definition:
ProductSelection.php:25
Commercetools\Api\Models\ProductSelection\ProductSelection\setMode
setMode(?string $mode)
Commercetools\Api\Models\ProductSelection\ProductSelection\setLastModifiedAt
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)
Commercetools\Api\Models\ProductSelection\ProductSelection\getLastModifiedAt
getLastModifiedAt()
Commercetools\Api\Models\ProductSelection\ProductSelection\getMode
getMode()
Commercetools\Api\Models\ProductSelection\ProductSelection\setCreatedBy
setCreatedBy(?CreatedBy $createdBy)
Commercetools\Api\Models\ProductSelection\ProductSelection\getProductCount
getProductCount()
Commercetools\Api\Models\ProductSelection\ProductSelection\FIELD_MODE
const FIELD_MODE
Definition:
ProductSelection.php:27
Commercetools\Api\Models\ProductSelection\ProductSelection\getCreatedBy
getCreatedBy()
Commercetools\Api\Models\ProductSelection\ProductSelection\getName
getName()
Commercetools\Api\Models\ProductSelection\ProductSelection\FIELD_KEY
const FIELD_KEY
Definition:
ProductSelection.php:24
Commercetools\Api\Models\ProductSelection\ProductSelection\getVersion
getVersion()
Commercetools\Api\Models\ProductSelection\ProductSelection\getCustom
getCustom()
Commercetools\Api\Models\ProductSelection\ProductSelection\getId
getId()
Commercetools\Api\Models\ProductSelection\ProductSelection\getLastModifiedBy
getLastModifiedBy()
Commercetools\Api\Models\ProductSelection\ProductSelection\getKey
getKey()
Commercetools\Api\Models\ProductSelection\ProductSelection\FIELD_CREATED_BY
const FIELD_CREATED_BY
Definition:
ProductSelection.php:23
Commercetools\Api\Models\ProductSelection\ProductSelection\FIELD_LAST_MODIFIED_BY
const FIELD_LAST_MODIFIED_BY
Definition:
ProductSelection.php:22
Commercetools\Api\Models\ProductSelection\ProductSelection\setId
setId(?string $id)
Commercetools\Api\Models\ProductSelection\ProductSelection\setKey
setKey(?string $key)
Commercetools\Api\Models\ProductSelection\ProductSelection\setName
setName(?LocalizedString $name)
Commercetools\Api\Models\ProductSelection\ProductSelection\FIELD_PRODUCT_COUNT
const FIELD_PRODUCT_COUNT
Definition:
ProductSelection.php:26
Commercetools\Api\Models\ProductSelection\ProductSelection\setLastModifiedBy
setLastModifiedBy(?LastModifiedBy $lastModifiedBy)
Commercetools\Api\Models\ProductSelection\ProductSelection\setProductCount
setProductCount(?int $productCount)
Commercetools\Api\Models\ProductSelection\ProductSelection\setCreatedAt
setCreatedAt(?DateTimeImmutable $createdAt)
Commercetools\Api\Models\Type\CustomFields
Definition:
CustomFields.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\ProductSelection
Definition:
AssignedProductReference.php:9
Generated by
1.9.1