commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
ZoneDraft.php
1 <?php
2 
3 declare(strict_types=1);
10 
13 
14 interface ZoneDraft extends JsonObject
15 {
16  public const FIELD_KEY = 'key';
17  public const FIELD_NAME = 'name';
18  public const FIELD_DESCRIPTION = 'description';
19  public const FIELD_LOCATIONS = 'locations';
20 
27  public function getKey();
28 
35  public function getName();
36 
43  public function getDescription();
44 
51  public function getLocations();
52 
56  public function setKey(?string $key): void;
57 
61  public function setName(?string $name): void;
62 
66  public function setDescription(?string $description): void;
67 
71  public function setLocations(?LocationCollection $locations): void;
72 }
setDescription(?string $description)
setLocations(?LocationCollection $locations)