commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
State
StateAddRolesAction.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
StateAddRolesAction
extends
StateUpdateAction
15
{
16
public
const
FIELD_ROLES
=
'roles'
;
17
24
public
function
getRoles
();
25
29
public
function
setRoles
(?array $roles): void;
30
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\State\StateAddRolesAction
Definition:
StateAddRolesAction.php:15
Commercetools\Api\Models\State\StateAddRolesAction\setRoles
setRoles(?array $roles)
Commercetools\Api\Models\State\StateAddRolesAction\getRoles
getRoles()
Commercetools\Api\Models\State\StateAddRolesAction\FIELD_ROLES
const FIELD_ROLES
Definition:
StateAddRolesAction.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