commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Error
MissingRoleOnChannelError.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Error
;
10
11
use
Commercetools\Api\Models\Channel\ChannelResourceIdentifier
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
MissingRoleOnChannelError
extends
ErrorObject
16
{
17
public
const
FIELD_CHANNEL
=
'channel'
;
18
public
const
FIELD_MISSING_ROLE
=
'missingRole'
;
19
24
public
function
getCode
();
25
32
public
function
getMessage
();
33
40
public
function
getChannel
();
41
51
public
function
getMissingRole
();
52
56
public
function
setMessage
(?
string
$message): void;
57
61
public
function
setChannel
(?
ChannelResourceIdentifier
$channel): void;
62
66
public
function
setMissingRole
(?
string
$missingRole): void;
67
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Channel\ChannelResourceIdentifier
Definition:
ChannelResourceIdentifier.php:16
Commercetools\Api\Models\Error\ErrorObject
Definition:
ErrorObject.php:15
Commercetools\Api\Models\Error\MissingRoleOnChannelError
Definition:
MissingRoleOnChannelError.php:16
Commercetools\Api\Models\Error\MissingRoleOnChannelError\setMessage
setMessage(?string $message)
Commercetools\Api\Models\Error\MissingRoleOnChannelError\FIELD_CHANNEL
const FIELD_CHANNEL
Definition:
MissingRoleOnChannelError.php:17
Commercetools\Api\Models\Error\MissingRoleOnChannelError\getCode
getCode()
Commercetools\Api\Models\Error\MissingRoleOnChannelError\getChannel
getChannel()
Commercetools\Api\Models\Error\MissingRoleOnChannelError\FIELD_MISSING_ROLE
const FIELD_MISSING_ROLE
Definition:
MissingRoleOnChannelError.php:18
Commercetools\Api\Models\Error\MissingRoleOnChannelError\getMessage
getMessage()
Commercetools\Api\Models\Error\MissingRoleOnChannelError\setChannel
setChannel(?ChannelResourceIdentifier $channel)
Commercetools\Api\Models\Error\MissingRoleOnChannelError\setMissingRole
setMissingRole(?string $missingRole)
Commercetools\Api\Models\Error\MissingRoleOnChannelError\getMissingRole
getMissingRole()
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Error
Definition:
AnonymousIdAlreadyInUseError.php:9
Generated by
1.9.1