commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
ExtensionBadResponseError.php
1 <?php
2 
3 declare(strict_types=1);
10 
14 
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 }
setLocalizedMessage(?LocalizedString $localizedMessage)
setExtensionErrors(?ExtensionErrorCollection $extensionErrors)
setExtensionExtraInfo(?JsonObject $extensionExtraInfo)