commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
Zone.php
1<?php
2
3declare(strict_types=1);
10
16use DateTimeImmutable;
17
18interface Zone extends BaseResource
19{
20 public const FIELD_LAST_MODIFIED_BY = 'lastModifiedBy';
21 public const FIELD_CREATED_BY = 'createdBy';
22 public const FIELD_KEY = 'key';
23 public const FIELD_NAME = 'name';
24 public const FIELD_DESCRIPTION = 'description';
25 public const FIELD_LOCATIONS = 'locations';
26
33 public function getId();
34
41 public function getVersion();
42
49 public function getCreatedAt();
50
57 public function getLastModifiedAt();
58
65 public function getLastModifiedBy();
66
73 public function getCreatedBy();
74
81 public function getKey();
82
89 public function getName();
90
97 public function getDescription();
98
105 public function getLocations();
106
110 public function setId(?string $id): void;
111
115 public function setVersion(?int $version): void;
116
120 public function setCreatedAt(?DateTimeImmutable $createdAt): void;
121
125 public function setLastModifiedAt(?DateTimeImmutable $lastModifiedAt): void;
126
130 public function setLastModifiedBy(?LastModifiedBy $lastModifiedBy): void;
131
135 public function setCreatedBy(?CreatedBy $createdBy): void;
136
140 public function setKey(?string $key): void;
141
145 public function setName(?string $name): void;
146
150 public function setDescription(?string $description): void;
151
155 public function setLocations(?LocationCollection $locations): void;
156}
setLastModifiedBy(?LastModifiedBy $lastModifiedBy)
setCreatedAt(?DateTimeImmutable $createdAt)
setCreatedBy(?CreatedBy $createdBy)
setLocations(?LocationCollection $locations)
setDescription(?string $description)
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)