commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
AttributeGroup.php
1 <?php
2 
3 declare(strict_types=1);
10 
17 use DateTimeImmutable;
18 
19 interface AttributeGroup extends BaseResource
20 {
21  public const FIELD_LAST_MODIFIED_BY = 'lastModifiedBy';
22  public const FIELD_CREATED_BY = 'createdBy';
23  public const FIELD_NAME = 'name';
24  public const FIELD_DESCRIPTION = 'description';
25  public const FIELD_ATTRIBUTES = 'attributes';
26  public const FIELD_KEY = 'key';
27 
34  public function getId();
35 
42  public function getVersion();
43 
50  public function getCreatedAt();
51 
58  public function getLastModifiedAt();
59 
66  public function getLastModifiedBy();
67 
74  public function getCreatedBy();
75 
82  public function getName();
83 
90  public function getDescription();
91 
98  public function getAttributes();
99 
106  public function getKey();
107 
111  public function setId(?string $id): void;
112 
116  public function setVersion(?int $version): void;
117 
121  public function setCreatedAt(?DateTimeImmutable $createdAt): void;
122 
126  public function setLastModifiedAt(?DateTimeImmutable $lastModifiedAt): void;
127 
131  public function setLastModifiedBy(?LastModifiedBy $lastModifiedBy): void;
132 
136  public function setCreatedBy(?CreatedBy $createdBy): void;
137 
141  public function setName(?LocalizedString $name): void;
142 
146  public function setDescription(?LocalizedString $description): void;
147 
151  public function setAttributes(?AttributeReferenceCollection $attributes): void;
152 
156  public function setKey(?string $key): void;
157 }
setLastModifiedBy(?LastModifiedBy $lastModifiedBy)
setAttributes(?AttributeReferenceCollection $attributes)
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)