commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
AssociateRoleDraft.php
1 <?php
2 
3 declare(strict_types=1);
10 
14 
15 interface AssociateRoleDraft extends JsonObject
16 {
17  public const FIELD_KEY = 'key';
18  public const FIELD_NAME = 'name';
19  public const FIELD_BUYER_ASSIGNABLE = 'buyerAssignable';
20  public const FIELD_PERMISSIONS = 'permissions';
21  public const FIELD_CUSTOM = 'custom';
22 
29  public function getKey();
30 
37  public function getName();
38 
45  public function getBuyerAssignable();
46 
53  public function getPermissions();
54 
61  public function getCustom();
62 
66  public function setKey(?string $key): void;
67 
71  public function setName(?string $name): void;
72 
76  public function setBuyerAssignable(?bool $buyerAssignable): void;
77 
81  public function setPermissions(?array $permissions): void;
82 
86  public function setCustom(?CustomFieldsDraft $custom): void;
87 }