commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
CustomerGroup
CustomerGroup.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\CustomerGroup
;
10
11
use
Commercetools\Api\Models\Common\BaseResource
;
12
use
Commercetools\Api\Models\Common\CreatedBy
;
13
use
Commercetools\Api\Models\Common\LastModifiedBy
;
14
use
Commercetools\Api\Models\Type\CustomFields
;
15
use
Commercetools\Base\DateTimeImmutableCollection
;
16
use
Commercetools\Base\JsonObject
;
17
use DateTimeImmutable;
18
19
interface
CustomerGroup
extends
BaseResource
20
{
21
public
const
FIELD_LAST_MODIFIED_BY
=
'lastModifiedBy'
;
22
public
const
FIELD_CREATED_BY
=
'createdBy'
;
23
public
const
FIELD_KEY
=
'key'
;
24
public
const
FIELD_NAME
=
'name'
;
25
public
const
FIELD_CUSTOM
=
'custom'
;
26
33
public
function
getId
();
34
41
public
function
getVersion
();
42
49
public
function
getCreatedAt
();
50
57
public
function
getLastModifiedAt
();
58
65
public
function
getLastModifiedBy
();
66
73
public
function
getCreatedBy
();
74
81
public
function
getKey
();
82
89
public
function
getName
();
90
97
public
function
getCustom
();
98
102
public
function
setId
(?
string
$id): void;
103
107
public
function
setVersion
(?
int
$version): void;
108
112
public
function
setCreatedAt
(?DateTimeImmutable $createdAt): void;
113
117
public
function
setLastModifiedAt
(?DateTimeImmutable $lastModifiedAt): void;
118
122
public
function
setLastModifiedBy
(?
LastModifiedBy
$lastModifiedBy): void;
123
127
public
function
setCreatedBy
(?
CreatedBy
$createdBy): void;
128
132
public
function
setKey
(?
string
$key): void;
133
137
public
function
setName
(?
string
$name): void;
138
142
public
function
setCustom
(?
CustomFields
$custom): void;
143
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Common\BaseResource
Definition:
BaseResource.php:249
Commercetools\Api\Models\Common\CreatedBy
Definition:
CreatedBy.php:16
Commercetools\Api\Models\Common\LastModifiedBy
Definition:
LastModifiedBy.php:16
Commercetools\Api\Models\CustomerGroup\CustomerGroup
Definition:
CustomerGroup.php:20
Commercetools\Api\Models\CustomerGroup\CustomerGroup\getCreatedBy
getCreatedBy()
Commercetools\Api\Models\CustomerGroup\CustomerGroup\getKey
getKey()
Commercetools\Api\Models\CustomerGroup\CustomerGroup\setId
setId(?string $id)
Commercetools\Api\Models\CustomerGroup\CustomerGroup\setCreatedBy
setCreatedBy(?CreatedBy $createdBy)
Commercetools\Api\Models\CustomerGroup\CustomerGroup\FIELD_KEY
const FIELD_KEY
Definition:
CustomerGroup.php:23
Commercetools\Api\Models\CustomerGroup\CustomerGroup\FIELD_LAST_MODIFIED_BY
const FIELD_LAST_MODIFIED_BY
Definition:
CustomerGroup.php:21
Commercetools\Api\Models\CustomerGroup\CustomerGroup\getLastModifiedBy
getLastModifiedBy()
Commercetools\Api\Models\CustomerGroup\CustomerGroup\getName
getName()
Commercetools\Api\Models\CustomerGroup\CustomerGroup\setKey
setKey(?string $key)
Commercetools\Api\Models\CustomerGroup\CustomerGroup\getId
getId()
Commercetools\Api\Models\CustomerGroup\CustomerGroup\setName
setName(?string $name)
Commercetools\Api\Models\CustomerGroup\CustomerGroup\getCreatedAt
getCreatedAt()
Commercetools\Api\Models\CustomerGroup\CustomerGroup\FIELD_NAME
const FIELD_NAME
Definition:
CustomerGroup.php:24
Commercetools\Api\Models\CustomerGroup\CustomerGroup\setCreatedAt
setCreatedAt(?DateTimeImmutable $createdAt)
Commercetools\Api\Models\CustomerGroup\CustomerGroup\getVersion
getVersion()
Commercetools\Api\Models\CustomerGroup\CustomerGroup\FIELD_CREATED_BY
const FIELD_CREATED_BY
Definition:
CustomerGroup.php:22
Commercetools\Api\Models\CustomerGroup\CustomerGroup\FIELD_CUSTOM
const FIELD_CUSTOM
Definition:
CustomerGroup.php:25
Commercetools\Api\Models\CustomerGroup\CustomerGroup\getCustom
getCustom()
Commercetools\Api\Models\CustomerGroup\CustomerGroup\getLastModifiedAt
getLastModifiedAt()
Commercetools\Api\Models\CustomerGroup\CustomerGroup\setCustom
setCustom(?CustomFields $custom)
Commercetools\Api\Models\CustomerGroup\CustomerGroup\setLastModifiedBy
setLastModifiedBy(?LastModifiedBy $lastModifiedBy)
Commercetools\Api\Models\CustomerGroup\CustomerGroup\setLastModifiedAt
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)
Commercetools\Api\Models\CustomerGroup\CustomerGroup\setVersion
setVersion(?int $version)
Commercetools\Api\Models\Type\CustomFields
Definition:
CustomFields.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\CustomerGroup
Definition:
CustomerGroup.php:9
Generated by
1.9.1