commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-import
src
Models
Errors
InvalidStateTransitionError.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Import\Models\Errors
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
14
interface
InvalidStateTransitionError
extends
ErrorObject
15
{
16
public
const
FIELD_CURRENT_STATE
=
'currentState'
;
17
public
const
FIELD_NEW_STATE
=
'newState'
;
18
25
public
function
getCurrentState
();
26
33
public
function
getNewState
();
34
38
public
function
setCurrentState
(?
string
$currentState): void;
39
43
public
function
setNewState
(?
string
$newState): void;
44
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Import\Models\Errors\ErrorObject
Definition:
ErrorObject.php:15
Commercetools\Import\Models\Errors\InvalidStateTransitionError
Definition:
InvalidStateTransitionError.php:15
Commercetools\Import\Models\Errors\InvalidStateTransitionError\setNewState
setNewState(?string $newState)
Commercetools\Import\Models\Errors\InvalidStateTransitionError\getCurrentState
getCurrentState()
Commercetools\Import\Models\Errors\InvalidStateTransitionError\FIELD_CURRENT_STATE
const FIELD_CURRENT_STATE
Definition:
InvalidStateTransitionError.php:16
Commercetools\Import\Models\Errors\InvalidStateTransitionError\getNewState
getNewState()
Commercetools\Import\Models\Errors\InvalidStateTransitionError\setCurrentState
setCurrentState(?string $currentState)
Commercetools\Import\Models\Errors\InvalidStateTransitionError\FIELD_NEW_STATE
const FIELD_NEW_STATE
Definition:
InvalidStateTransitionError.php:17
Commercetools\Import\Models\Errors
Definition:
AccessDeniedError.php:9
Generated by
1.9.1