commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
AssociateRole
AssociateRoleDraft.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\AssociateRole
;
10
11
use
Commercetools\Api\Models\Type\CustomFieldsDraft
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
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
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\AssociateRole\AssociateRoleDraft
Definition:
AssociateRoleDraft.php:16
Commercetools\Api\Models\AssociateRole\AssociateRoleDraft\FIELD_BUYER_ASSIGNABLE
const FIELD_BUYER_ASSIGNABLE
Definition:
AssociateRoleDraft.php:19
Commercetools\Api\Models\AssociateRole\AssociateRoleDraft\FIELD_PERMISSIONS
const FIELD_PERMISSIONS
Definition:
AssociateRoleDraft.php:20
Commercetools\Api\Models\AssociateRole\AssociateRoleDraft\setCustom
setCustom(?CustomFieldsDraft $custom)
Commercetools\Api\Models\AssociateRole\AssociateRoleDraft\FIELD_KEY
const FIELD_KEY
Definition:
AssociateRoleDraft.php:17
Commercetools\Api\Models\AssociateRole\AssociateRoleDraft\FIELD_CUSTOM
const FIELD_CUSTOM
Definition:
AssociateRoleDraft.php:21
Commercetools\Api\Models\AssociateRole\AssociateRoleDraft\setBuyerAssignable
setBuyerAssignable(?bool $buyerAssignable)
Commercetools\Api\Models\AssociateRole\AssociateRoleDraft\getKey
getKey()
Commercetools\Api\Models\AssociateRole\AssociateRoleDraft\FIELD_NAME
const FIELD_NAME
Definition:
AssociateRoleDraft.php:18
Commercetools\Api\Models\AssociateRole\AssociateRoleDraft\getBuyerAssignable
getBuyerAssignable()
Commercetools\Api\Models\AssociateRole\AssociateRoleDraft\getCustom
getCustom()
Commercetools\Api\Models\AssociateRole\AssociateRoleDraft\getName
getName()
Commercetools\Api\Models\AssociateRole\AssociateRoleDraft\setPermissions
setPermissions(?array $permissions)
Commercetools\Api\Models\AssociateRole\AssociateRoleDraft\setName
setName(?string $name)
Commercetools\Api\Models\AssociateRole\AssociateRoleDraft\getPermissions
getPermissions()
Commercetools\Api\Models\AssociateRole\AssociateRoleDraft\setKey
setKey(?string $key)
Commercetools\Api\Models\Type\CustomFieldsDraft
Definition:
CustomFieldsDraft.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\AssociateRole
Definition:
AssociateRole.php:9
Generated by
1.9.1