commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
State
StateSetRolesAction.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\State
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
14
interface
StateSetRolesAction
extends
StateUpdateAction
15
{
16
public
const
FIELD_ROLES
=
'roles'
;
17
25
public
function
getRoles
();
26
30
public
function
setRoles
(?array $roles): void;
31
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\State\StateSetRolesAction
Definition:
StateSetRolesAction.php:15
Commercetools\Api\Models\State\StateSetRolesAction\setRoles
setRoles(?array $roles)
Commercetools\Api\Models\State\StateSetRolesAction\getRoles
getRoles()
Commercetools\Api\Models\State\StateSetRolesAction\FIELD_ROLES
const FIELD_ROLES
Definition:
StateSetRolesAction.php:16
Commercetools\Api\Models\State\StateUpdateAction
Definition:
StateUpdateAction.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\State
Definition:
State.php:9
Generated by
1.9.1