commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Error
ExtensionBadResponseError.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Error
;
10
11
use
Commercetools\Api\Models\Common\LocalizedString
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
ExtensionBadResponseError
extends
ErrorObject
16
{
17
public
const
FIELD_LOCALIZED_MESSAGE
=
'localizedMessage'
;
18
public
const
FIELD_EXTENSION_EXTRA_INFO
=
'extensionExtraInfo'
;
19
public
const
FIELD_EXTENSION_ERRORS
=
'extensionErrors'
;
20
public
const
FIELD_EXTENSION_BODY
=
'extensionBody'
;
21
public
const
FIELD_EXTENSION_STATUS_CODE
=
'extensionStatusCode'
;
22
public
const
FIELD_EXTENSION_ID
=
'extensionId'
;
23
public
const
FIELD_EXTENSION_KEY
=
'extensionKey'
;
24
29
public
function
getCode
();
30
37
public
function
getMessage
();
38
45
public
function
getLocalizedMessage
();
46
53
public
function
getExtensionExtraInfo
();
54
61
public
function
getExtensionErrors
();
62
69
public
function
getExtensionBody
();
70
77
public
function
getExtensionStatusCode
();
78
85
public
function
getExtensionId
();
86
93
public
function
getExtensionKey
();
94
98
public
function
setMessage
(?
string
$message): void;
99
103
public
function
setLocalizedMessage
(?
LocalizedString
$localizedMessage): void;
104
108
public
function
setExtensionExtraInfo
(?
JsonObject
$extensionExtraInfo): void;
109
113
public
function
setExtensionErrors
(?
ExtensionErrorCollection
$extensionErrors): void;
114
118
public
function
setExtensionBody
(?
string
$extensionBody): void;
119
123
public
function
setExtensionStatusCode
(?
int
$extensionStatusCode): void;
124
128
public
function
setExtensionId
(?
string
$extensionId): void;
129
133
public
function
setExtensionKey
(?
string
$extensionKey): void;
134
}
Commercetools\Api\Models\Error\ExtensionErrorCollection
Definition:
ExtensionErrorCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Common\LocalizedString
Definition:
LocalizedString.php:14
Commercetools\Api\Models\Error\ErrorObject
Definition:
ErrorObject.php:15
Commercetools\Api\Models\Error\ExtensionBadResponseError
Definition:
ExtensionBadResponseError.php:16
Commercetools\Api\Models\Error\ExtensionBadResponseError\getExtensionKey
getExtensionKey()
Commercetools\Api\Models\Error\ExtensionBadResponseError\setExtensionStatusCode
setExtensionStatusCode(?int $extensionStatusCode)
Commercetools\Api\Models\Error\ExtensionBadResponseError\setExtensionId
setExtensionId(?string $extensionId)
Commercetools\Api\Models\Error\ExtensionBadResponseError\FIELD_EXTENSION_ID
const FIELD_EXTENSION_ID
Definition:
ExtensionBadResponseError.php:22
Commercetools\Api\Models\Error\ExtensionBadResponseError\getLocalizedMessage
getLocalizedMessage()
Commercetools\Api\Models\Error\ExtensionBadResponseError\getCode
getCode()
Commercetools\Api\Models\Error\ExtensionBadResponseError\setLocalizedMessage
setLocalizedMessage(?LocalizedString $localizedMessage)
Commercetools\Api\Models\Error\ExtensionBadResponseError\getExtensionErrors
getExtensionErrors()
Commercetools\Api\Models\Error\ExtensionBadResponseError\FIELD_EXTENSION_ERRORS
const FIELD_EXTENSION_ERRORS
Definition:
ExtensionBadResponseError.php:19
Commercetools\Api\Models\Error\ExtensionBadResponseError\setMessage
setMessage(?string $message)
Commercetools\Api\Models\Error\ExtensionBadResponseError\getExtensionStatusCode
getExtensionStatusCode()
Commercetools\Api\Models\Error\ExtensionBadResponseError\FIELD_LOCALIZED_MESSAGE
const FIELD_LOCALIZED_MESSAGE
Definition:
ExtensionBadResponseError.php:17
Commercetools\Api\Models\Error\ExtensionBadResponseError\FIELD_EXTENSION_STATUS_CODE
const FIELD_EXTENSION_STATUS_CODE
Definition:
ExtensionBadResponseError.php:21
Commercetools\Api\Models\Error\ExtensionBadResponseError\setExtensionErrors
setExtensionErrors(?ExtensionErrorCollection $extensionErrors)
Commercetools\Api\Models\Error\ExtensionBadResponseError\getExtensionBody
getExtensionBody()
Commercetools\Api\Models\Error\ExtensionBadResponseError\setExtensionKey
setExtensionKey(?string $extensionKey)
Commercetools\Api\Models\Error\ExtensionBadResponseError\getMessage
getMessage()
Commercetools\Api\Models\Error\ExtensionBadResponseError\FIELD_EXTENSION_EXTRA_INFO
const FIELD_EXTENSION_EXTRA_INFO
Definition:
ExtensionBadResponseError.php:18
Commercetools\Api\Models\Error\ExtensionBadResponseError\setExtensionExtraInfo
setExtensionExtraInfo(?JsonObject $extensionExtraInfo)
Commercetools\Api\Models\Error\ExtensionBadResponseError\FIELD_EXTENSION_KEY
const FIELD_EXTENSION_KEY
Definition:
ExtensionBadResponseError.php:23
Commercetools\Api\Models\Error\ExtensionBadResponseError\getExtensionExtraInfo
getExtensionExtraInfo()
Commercetools\Api\Models\Error\ExtensionBadResponseError\FIELD_EXTENSION_BODY
const FIELD_EXTENSION_BODY
Definition:
ExtensionBadResponseError.php:20
Commercetools\Api\Models\Error\ExtensionBadResponseError\setExtensionBody
setExtensionBody(?string $extensionBody)
Commercetools\Api\Models\Error\ExtensionBadResponseError\getExtensionId
getExtensionId()
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Error
Definition:
AnonymousIdAlreadyInUseError.php:9
Generated by
1.9.1