commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
CustomObjectDraft.php
1 <?php
2 
3 declare(strict_types=1);
10 
13 
14 interface CustomObjectDraft extends JsonObject
15 {
16  public const FIELD_CONTAINER = 'container';
17  public const FIELD_KEY = 'key';
18  public const FIELD_VALUE = 'value';
19  public const FIELD_VERSION = 'version';
20 
27  public function getContainer();
28 
35  public function getKey();
36 
47  public function getValue();
48 
55  public function getVersion();
56 
60  public function setContainer(?string $container): void;
61 
65  public function setKey(?string $key): void;
66 
70  public function setValue($value): void;
71 
75  public function setVersion(?int $version): void;
76 }