commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Zone
Zone.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Zone
;
10
11
use
Commercetools\Api\Models\Common\BaseResource
;
12
use
Commercetools\Api\Models\Common\CreatedBy
;
13
use
Commercetools\Api\Models\Common\LastModifiedBy
;
14
use
Commercetools\Base\DateTimeImmutableCollection
;
15
use
Commercetools\Base\JsonObject
;
16
use DateTimeImmutable;
17
18
interface
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
}
Commercetools\Api\Models\Zone\LocationCollection
Definition:
LocationCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Common\BaseResource
Definition:
BaseResource.php:249
Commercetools\Api\Models\Common\CreatedBy
Definition:
CreatedBy.php:16
Commercetools\Api\Models\Common\LastModifiedBy
Definition:
LastModifiedBy.php:16
Commercetools\Api\Models\Zone\Zone
Definition:
Zone.php:19
Commercetools\Api\Models\Zone\Zone\setVersion
setVersion(?int $version)
Commercetools\Api\Models\Zone\Zone\getKey
getKey()
Commercetools\Api\Models\Zone\Zone\setLastModifiedBy
setLastModifiedBy(?LastModifiedBy $lastModifiedBy)
Commercetools\Api\Models\Zone\Zone\FIELD_CREATED_BY
const FIELD_CREATED_BY
Definition:
Zone.php:21
Commercetools\Api\Models\Zone\Zone\getDescription
getDescription()
Commercetools\Api\Models\Zone\Zone\getLastModifiedAt
getLastModifiedAt()
Commercetools\Api\Models\Zone\Zone\setId
setId(?string $id)
Commercetools\Api\Models\Zone\Zone\FIELD_LOCATIONS
const FIELD_LOCATIONS
Definition:
Zone.php:25
Commercetools\Api\Models\Zone\Zone\FIELD_LAST_MODIFIED_BY
const FIELD_LAST_MODIFIED_BY
Definition:
Zone.php:20
Commercetools\Api\Models\Zone\Zone\setCreatedAt
setCreatedAt(?DateTimeImmutable $createdAt)
Commercetools\Api\Models\Zone\Zone\getCreatedAt
getCreatedAt()
Commercetools\Api\Models\Zone\Zone\FIELD_KEY
const FIELD_KEY
Definition:
Zone.php:22
Commercetools\Api\Models\Zone\Zone\setCreatedBy
setCreatedBy(?CreatedBy $createdBy)
Commercetools\Api\Models\Zone\Zone\getVersion
getVersion()
Commercetools\Api\Models\Zone\Zone\setKey
setKey(?string $key)
Commercetools\Api\Models\Zone\Zone\setLocations
setLocations(?LocationCollection $locations)
Commercetools\Api\Models\Zone\Zone\setDescription
setDescription(?string $description)
Commercetools\Api\Models\Zone\Zone\setName
setName(?string $name)
Commercetools\Api\Models\Zone\Zone\FIELD_DESCRIPTION
const FIELD_DESCRIPTION
Definition:
Zone.php:24
Commercetools\Api\Models\Zone\Zone\getId
getId()
Commercetools\Api\Models\Zone\Zone\FIELD_NAME
const FIELD_NAME
Definition:
Zone.php:23
Commercetools\Api\Models\Zone\Zone\getName
getName()
Commercetools\Api\Models\Zone\Zone\getLocations
getLocations()
Commercetools\Api\Models\Zone\Zone\setLastModifiedAt
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)
Commercetools\Api\Models\Zone\Zone\getCreatedBy
getCreatedBy()
Commercetools\Api\Models\Zone\Zone\getLastModifiedBy
getLastModifiedBy()
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Zone
Definition:
Location.php:9
Generated by
1.9.1