commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Error
AssociateMissingPermissionError.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Error
;
10
11
use
Commercetools\Api\Models\BusinessUnit\BusinessUnitResourceIdentifier
;
12
use
Commercetools\Api\Models\Customer\CustomerResourceIdentifier
;
13
use
Commercetools\Base\DateTimeImmutableCollection
;
14
use
Commercetools\Base\JsonObject
;
15
16
interface
AssociateMissingPermissionError
extends
ErrorObject
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
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\BusinessUnit\BusinessUnitResourceIdentifier
Definition:
BusinessUnitResourceIdentifier.php:16
Commercetools\Api\Models\Customer\CustomerResourceIdentifier
Definition:
CustomerResourceIdentifier.php:16
Commercetools\Api\Models\Error\AssociateMissingPermissionError
Definition:
AssociateMissingPermissionError.php:17
Commercetools\Api\Models\Error\AssociateMissingPermissionError\getAssociateOnBehalf
getAssociateOnBehalf()
Commercetools\Api\Models\Error\AssociateMissingPermissionError\FIELD_PERMISSIONS
const FIELD_PERMISSIONS
Definition:
AssociateMissingPermissionError.php:21
Commercetools\Api\Models\Error\AssociateMissingPermissionError\setBusinessUnit
setBusinessUnit(?BusinessUnitResourceIdentifier $businessUnit)
Commercetools\Api\Models\Error\AssociateMissingPermissionError\FIELD_BUSINESS_UNIT
const FIELD_BUSINESS_UNIT
Definition:
AssociateMissingPermissionError.php:19
Commercetools\Api\Models\Error\AssociateMissingPermissionError\FIELD_ASSOCIATE_ON_BEHALF
const FIELD_ASSOCIATE_ON_BEHALF
Definition:
AssociateMissingPermissionError.php:20
Commercetools\Api\Models\Error\AssociateMissingPermissionError\FIELD_ASSOCIATE
const FIELD_ASSOCIATE
Definition:
AssociateMissingPermissionError.php:18
Commercetools\Api\Models\Error\AssociateMissingPermissionError\setPermissions
setPermissions(?array $permissions)
Commercetools\Api\Models\Error\AssociateMissingPermissionError\getPermissions
getPermissions()
Commercetools\Api\Models\Error\AssociateMissingPermissionError\getCode
getCode()
Commercetools\Api\Models\Error\AssociateMissingPermissionError\setMessage
setMessage(?string $message)
Commercetools\Api\Models\Error\AssociateMissingPermissionError\getBusinessUnit
getBusinessUnit()
Commercetools\Api\Models\Error\AssociateMissingPermissionError\getMessage
getMessage()
Commercetools\Api\Models\Error\AssociateMissingPermissionError\setAssociateOnBehalf
setAssociateOnBehalf(?CustomerResourceIdentifier $associateOnBehalf)
Commercetools\Api\Models\Error\AssociateMissingPermissionError\getAssociate
getAssociate()
Commercetools\Api\Models\Error\AssociateMissingPermissionError\setAssociate
setAssociate(?CustomerResourceIdentifier $associate)
Commercetools\Api\Models\Error\ErrorObject
Definition:
ErrorObject.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Error
Definition:
AnonymousIdAlreadyInUseError.php:9
Generated by
1.9.1