commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
AssociateRole.php
1 <?php
2 
3 declare(strict_types=1);
10 
17 use DateTimeImmutable;
18 
19 interface AssociateRole 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_BUYER_ASSIGNABLE = 'buyerAssignable';
25  public const FIELD_NAME = 'name';
26  public const FIELD_PERMISSIONS = 'permissions';
27  public const FIELD_CUSTOM = 'custom';
28 
35  public function getId();
36 
43  public function getVersion();
44 
51  public function getCreatedAt();
52 
59  public function getLastModifiedAt();
60 
67  public function getLastModifiedBy();
68 
75  public function getCreatedBy();
76 
83  public function getKey();
84 
91  public function getBuyerAssignable();
92 
99  public function getName();
100 
107  public function getPermissions();
108 
115  public function getCustom();
116 
120  public function setId(?string $id): void;
121 
125  public function setVersion(?int $version): void;
126 
130  public function setCreatedAt(?DateTimeImmutable $createdAt): void;
131 
135  public function setLastModifiedAt(?DateTimeImmutable $lastModifiedAt): void;
136 
140  public function setLastModifiedBy(?LastModifiedBy $lastModifiedBy): void;
141 
145  public function setCreatedBy(?CreatedBy $createdBy): void;
146 
150  public function setKey(?string $key): void;
151 
155  public function setBuyerAssignable(?bool $buyerAssignable): void;
156 
160  public function setName(?string $name): void;
161 
165  public function setPermissions(?array $permissions): void;
166 
170  public function setCustom(?CustomFields $custom): void;
171 }
setLastModifiedBy(?LastModifiedBy $lastModifiedBy)
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)