commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
AttributeGroupDraft.php
1 <?php
2 
3 declare(strict_types=1);
10 
14 
16 {
17  public const FIELD_NAME = 'name';
18  public const FIELD_DESCRIPTION = 'description';
19  public const FIELD_ATTRIBUTES = 'attributes';
20  public const FIELD_KEY = 'key';
21 
28  public function getName();
29 
36  public function getDescription();
37 
44  public function getAttributes();
45 
52  public function getKey();
53 
57  public function setName(?LocalizedString $name): void;
58 
62  public function setDescription(?LocalizedString $description): void;
63 
67  public function setAttributes(?AttributeReferenceCollection $attributes): void;
68 
72  public function setKey(?string $key): void;
73 }
setAttributes(?AttributeReferenceCollection $attributes)