commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
ExtensionError.php
1 <?php
2 
3 declare(strict_types=1);
10 
13 
14 interface ExtensionError extends JsonObject
15 {
16  public const FIELD_CODE = 'code';
17  public const FIELD_MESSAGE = 'message';
18  public const FIELD_EXTENSION_ID = 'extensionId';
19  public const FIELD_EXTENSION_KEY = 'extensionKey';
20  public const FIELD_PATTERN4 = '//';
21 
28  public function getCode();
29 
36  public function getMessage();
37 
44  public function getExtensionId();
45 
52  public function getExtensionKey();
53 
57  public function setCode(?string $code): void;
58 
62  public function setMessage(?string $message): void;
63 
67  public function setExtensionId(?string $extensionId): void;
68 
72  public function setExtensionKey(?string $extensionKey): void;
73 }