commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
CustomerGroup
CustomerGroupDraft.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\CustomerGroup
;
10
11
use
Commercetools\Api\Models\Type\CustomFieldsDraft
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
CustomerGroupDraft
extends
JsonObject
16
{
17
public
const
FIELD_KEY
=
'key'
;
18
public
const
FIELD_GROUP_NAME
=
'groupName'
;
19
public
const
FIELD_CUSTOM
=
'custom'
;
20
27
public
function
getKey
();
28
36
public
function
getGroupName
();
37
44
public
function
getCustom
();
45
49
public
function
setKey
(?
string
$key): void;
50
54
public
function
setGroupName
(?
string
$groupName): void;
55
59
public
function
setCustom
(?
CustomFieldsDraft
$custom): void;
60
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\CustomerGroup\CustomerGroupDraft
Definition:
CustomerGroupDraft.php:16
Commercetools\Api\Models\CustomerGroup\CustomerGroupDraft\setCustom
setCustom(?CustomFieldsDraft $custom)
Commercetools\Api\Models\CustomerGroup\CustomerGroupDraft\FIELD_GROUP_NAME
const FIELD_GROUP_NAME
Definition:
CustomerGroupDraft.php:18
Commercetools\Api\Models\CustomerGroup\CustomerGroupDraft\FIELD_KEY
const FIELD_KEY
Definition:
CustomerGroupDraft.php:17
Commercetools\Api\Models\CustomerGroup\CustomerGroupDraft\getCustom
getCustom()
Commercetools\Api\Models\CustomerGroup\CustomerGroupDraft\setKey
setKey(?string $key)
Commercetools\Api\Models\CustomerGroup\CustomerGroupDraft\getKey
getKey()
Commercetools\Api\Models\CustomerGroup\CustomerGroupDraft\getGroupName
getGroupName()
Commercetools\Api\Models\CustomerGroup\CustomerGroupDraft\setGroupName
setGroupName(?string $groupName)
Commercetools\Api\Models\CustomerGroup\CustomerGroupDraft\FIELD_CUSTOM
const FIELD_CUSTOM
Definition:
CustomerGroupDraft.php:19
Commercetools\Api\Models\Type\CustomFieldsDraft
Definition:
CustomFieldsDraft.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\CustomerGroup
Definition:
CustomerGroup.php:9
Generated by
1.9.1