commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-history
src
Models
Common
Variant.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
Variant
extends
JsonObject
15
{
16
17
public
const
FIELD_ID
=
'id'
;
18
public
const
FIELD_SKU
=
'sku'
;
19
public
const
FIELD_KEY
=
'key'
;
20
25
public
function
getId
();
26
31
public
function
getSku
();
32
37
public
function
getKey
();
38
42
public
function
setId
(?
int
$id): void;
43
47
public
function
setSku
(?
string
$sku): void;
48
52
public
function
setKey
(?
string
$key): void;
53
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\History\Models\Common\Variant
Definition:
Variant.php:15
Commercetools\History\Models\Common\Variant\FIELD_KEY
const FIELD_KEY
Definition:
Variant.php:19
Commercetools\History\Models\Common\Variant\getKey
getKey()
Commercetools\History\Models\Common\Variant\getId
getId()
Commercetools\History\Models\Common\Variant\setId
setId(?int $id)
Commercetools\History\Models\Common\Variant\setKey
setKey(?string $key)
Commercetools\History\Models\Common\Variant\setSku
setSku(?string $sku)
Commercetools\History\Models\Common\Variant\FIELD_ID
const FIELD_ID
Definition:
Variant.php:17
Commercetools\History\Models\Common\Variant\getSku
getSku()
Commercetools\History\Models\Common\Variant\FIELD_SKU
const FIELD_SKU
Definition:
Variant.php:18
Commercetools\History\Models\Common
Definition:
Address.php:9
Generated by
1.9.1