commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
CustomerGroup.php
1 <?php
2 
3 declare(strict_types=1);
10 
17 use DateTimeImmutable;
18 
19 interface CustomerGroup extends BaseResource
20 {
21  public const FIELD_LAST_MODIFIED_BY = 'lastModifiedBy';
22  public const FIELD_CREATED_BY = 'createdBy';
23  public const FIELD_KEY = 'key';
24  public const FIELD_NAME = 'name';
25  public const FIELD_CUSTOM = 'custom';
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 getKey();
82 
89  public function getName();
90 
97  public function getCustom();
98 
102  public function setId(?string $id): void;
103 
107  public function setVersion(?int $version): void;
108 
112  public function setCreatedAt(?DateTimeImmutable $createdAt): void;
113 
117  public function setLastModifiedAt(?DateTimeImmutable $lastModifiedAt): void;
118 
122  public function setLastModifiedBy(?LastModifiedBy $lastModifiedBy): void;
123 
127  public function setCreatedBy(?CreatedBy $createdBy): void;
128 
132  public function setKey(?string $key): void;
133 
137  public function setName(?string $name): void;
138 
142  public function setCustom(?CustomFields $custom): void;
143 }
setLastModifiedBy(?LastModifiedBy $lastModifiedBy)
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)