commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-history
src
Models
Common
GeoLocation.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\History\Models\Common
;
10
11
use
Commercetools\Base\JsonObject
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
14
interface
GeoLocation
extends
JsonObject
15
{
16
17
public
const
FIELD_TYPE
=
'type'
;
18
public
const
FIELD_COORDINATES
=
'coordinates'
;
19
24
public
function
getType
();
25
30
public
function
getCoordinates
();
31
35
public
function
setType
(?
string
$type): void;
36
40
public
function
setCoordinates
(?array $coordinates): void;
41
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\History\Models\Common\GeoLocation
Definition:
GeoLocation.php:15
Commercetools\History\Models\Common\GeoLocation\setCoordinates
setCoordinates(?array $coordinates)
Commercetools\History\Models\Common\GeoLocation\FIELD_TYPE
const FIELD_TYPE
Definition:
GeoLocation.php:17
Commercetools\History\Models\Common\GeoLocation\getCoordinates
getCoordinates()
Commercetools\History\Models\Common\GeoLocation\setType
setType(?string $type)
Commercetools\History\Models\Common\GeoLocation\FIELD_COORDINATES
const FIELD_COORDINATES
Definition:
GeoLocation.php:18
Commercetools\History\Models\Common\GeoLocation\getType
getType()
Commercetools\History\Models\Common
Definition:
Address.php:9
Generated by
1.9.1