commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
AssociateMissingPermissionError.php
1 <?php
2 
3 declare(strict_types=1);
10 
15 
17 {
18  public const FIELD_ASSOCIATE = 'associate';
19  public const FIELD_BUSINESS_UNIT = 'businessUnit';
20  public const FIELD_ASSOCIATE_ON_BEHALF = 'associateOnBehalf';
21  public const FIELD_PERMISSIONS = 'permissions';
22 
27  public function getCode();
28 
39  public function getMessage();
40 
47  public function getAssociate();
48 
55  public function getBusinessUnit();
56 
63  public function getAssociateOnBehalf();
64 
71  public function getPermissions();
72 
76  public function setMessage(?string $message): void;
77 
81  public function setAssociate(?CustomerResourceIdentifier $associate): void;
82 
86  public function setBusinessUnit(?BusinessUnitResourceIdentifier $businessUnit): void;
87 
91  public function setAssociateOnBehalf(?CustomerResourceIdentifier $associateOnBehalf): void;
92 
96  public function setPermissions(?array $permissions): void;
97 }
setBusinessUnit(?BusinessUnitResourceIdentifier $businessUnit)
setAssociateOnBehalf(?CustomerResourceIdentifier $associateOnBehalf)
setAssociate(?CustomerResourceIdentifier $associate)