commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
ProductSelection.php
1<?php
2
3declare(strict_types=1);
10
18use DateTimeImmutable;
19
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}
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)