commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
ProductSelection
ProductSelectionDraft.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\ProductSelection
;
10
11
use
Commercetools\Api\Models\Common\LocalizedString
;
12
use
Commercetools\Api\Models\Type\CustomFieldsDraft
;
13
use
Commercetools\Base\DateTimeImmutableCollection
;
14
use
Commercetools\Base\JsonObject
;
15
16
interface
ProductSelectionDraft
extends
JsonObject
17
{
18
public
const
FIELD_KEY
=
'key'
;
19
public
const
FIELD_NAME
=
'name'
;
20
public
const
FIELD_CUSTOM
=
'custom'
;
21
public
const
FIELD_MODE
=
'mode'
;
22
29
public
function
getKey
();
30
37
public
function
getName
();
38
45
public
function
getCustom
();
46
53
public
function
getMode
();
54
58
public
function
setKey
(?
string
$key): void;
59
63
public
function
setName
(?
LocalizedString
$name): void;
64
68
public
function
setCustom
(?
CustomFieldsDraft
$custom): void;
69
73
public
function
setMode
(?
string
$mode): void;
74
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Common\LocalizedString
Definition:
LocalizedString.php:14
Commercetools\Api\Models\ProductSelection\ProductSelectionDraft
Definition:
ProductSelectionDraft.php:17
Commercetools\Api\Models\ProductSelection\ProductSelectionDraft\getName
getName()
Commercetools\Api\Models\ProductSelection\ProductSelectionDraft\FIELD_CUSTOM
const FIELD_CUSTOM
Definition:
ProductSelectionDraft.php:20
Commercetools\Api\Models\ProductSelection\ProductSelectionDraft\getCustom
getCustom()
Commercetools\Api\Models\ProductSelection\ProductSelectionDraft\setKey
setKey(?string $key)
Commercetools\Api\Models\ProductSelection\ProductSelectionDraft\getMode
getMode()
Commercetools\Api\Models\ProductSelection\ProductSelectionDraft\setCustom
setCustom(?CustomFieldsDraft $custom)
Commercetools\Api\Models\ProductSelection\ProductSelectionDraft\FIELD_KEY
const FIELD_KEY
Definition:
ProductSelectionDraft.php:18
Commercetools\Api\Models\ProductSelection\ProductSelectionDraft\setMode
setMode(?string $mode)
Commercetools\Api\Models\ProductSelection\ProductSelectionDraft\getKey
getKey()
Commercetools\Api\Models\ProductSelection\ProductSelectionDraft\FIELD_MODE
const FIELD_MODE
Definition:
ProductSelectionDraft.php:21
Commercetools\Api\Models\ProductSelection\ProductSelectionDraft\FIELD_NAME
const FIELD_NAME
Definition:
ProductSelectionDraft.php:19
Commercetools\Api\Models\ProductSelection\ProductSelectionDraft\setName
setName(?LocalizedString $name)
Commercetools\Api\Models\Type\CustomFieldsDraft
Definition:
CustomFieldsDraft.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\ProductSelection
Definition:
AssignedProductReference.php:9
Generated by
1.9.1