commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Zone
ZoneDraft.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Zone
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
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
}
Commercetools\Api\Models\Zone\LocationCollection
Definition:
LocationCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Zone\ZoneDraft
Definition:
ZoneDraft.php:15
Commercetools\Api\Models\Zone\ZoneDraft\setKey
setKey(?string $key)
Commercetools\Api\Models\Zone\ZoneDraft\setName
setName(?string $name)
Commercetools\Api\Models\Zone\ZoneDraft\getDescription
getDescription()
Commercetools\Api\Models\Zone\ZoneDraft\FIELD_KEY
const FIELD_KEY
Definition:
ZoneDraft.php:16
Commercetools\Api\Models\Zone\ZoneDraft\setDescription
setDescription(?string $description)
Commercetools\Api\Models\Zone\ZoneDraft\FIELD_NAME
const FIELD_NAME
Definition:
ZoneDraft.php:17
Commercetools\Api\Models\Zone\ZoneDraft\getName
getName()
Commercetools\Api\Models\Zone\ZoneDraft\FIELD_DESCRIPTION
const FIELD_DESCRIPTION
Definition:
ZoneDraft.php:18
Commercetools\Api\Models\Zone\ZoneDraft\setLocations
setLocations(?LocationCollection $locations)
Commercetools\Api\Models\Zone\ZoneDraft\getKey
getKey()
Commercetools\Api\Models\Zone\ZoneDraft\getLocations
getLocations()
Commercetools\Api\Models\Zone\ZoneDraft\FIELD_LOCATIONS
const FIELD_LOCATIONS
Definition:
ZoneDraft.php:19
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Zone
Definition:
Location.php:9
Generated by
1.9.1