commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
AttributeGroup
AttributeGroup.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\AttributeGroup
;
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\Common\LocalizedString
;
15
use
Commercetools\Base\DateTimeImmutableCollection
;
16
use
Commercetools\Base\JsonObject
;
17
use DateTimeImmutable;
18
19
interface
AttributeGroup
extends
BaseResource
20
{
21
public
const
FIELD_LAST_MODIFIED_BY
=
'lastModifiedBy'
;
22
public
const
FIELD_CREATED_BY
=
'createdBy'
;
23
public
const
FIELD_NAME
=
'name'
;
24
public
const
FIELD_DESCRIPTION
=
'description'
;
25
public
const
FIELD_ATTRIBUTES
=
'attributes'
;
26
public
const
FIELD_KEY
=
'key'
;
27
34
public
function
getId
();
35
42
public
function
getVersion
();
43
50
public
function
getCreatedAt
();
51
58
public
function
getLastModifiedAt
();
59
66
public
function
getLastModifiedBy
();
67
74
public
function
getCreatedBy
();
75
82
public
function
getName
();
83
90
public
function
getDescription
();
91
98
public
function
getAttributes
();
99
106
public
function
getKey
();
107
111
public
function
setId
(?
string
$id): void;
112
116
public
function
setVersion
(?
int
$version): void;
117
121
public
function
setCreatedAt
(?DateTimeImmutable $createdAt): void;
122
126
public
function
setLastModifiedAt
(?DateTimeImmutable $lastModifiedAt): void;
127
131
public
function
setLastModifiedBy
(?
LastModifiedBy
$lastModifiedBy): void;
132
136
public
function
setCreatedBy
(?
CreatedBy
$createdBy): void;
137
141
public
function
setName
(?
LocalizedString
$name): void;
142
146
public
function
setDescription
(?
LocalizedString
$description): void;
147
151
public
function
setAttributes
(?
AttributeReferenceCollection
$attributes): void;
152
156
public
function
setKey
(?
string
$key): void;
157
}
Commercetools\Api\Models\AttributeGroup\AttributeReferenceCollection
Definition:
AttributeReferenceCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\AttributeGroup\AttributeGroup
Definition:
AttributeGroup.php:20
Commercetools\Api\Models\AttributeGroup\AttributeGroup\setVersion
setVersion(?int $version)
Commercetools\Api\Models\AttributeGroup\AttributeGroup\getDescription
getDescription()
Commercetools\Api\Models\AttributeGroup\AttributeGroup\getName
getName()
Commercetools\Api\Models\AttributeGroup\AttributeGroup\setCreatedAt
setCreatedAt(?DateTimeImmutable $createdAt)
Commercetools\Api\Models\AttributeGroup\AttributeGroup\getLastModifiedAt
getLastModifiedAt()
Commercetools\Api\Models\AttributeGroup\AttributeGroup\setLastModifiedBy
setLastModifiedBy(?LastModifiedBy $lastModifiedBy)
Commercetools\Api\Models\AttributeGroup\AttributeGroup\getId
getId()
Commercetools\Api\Models\AttributeGroup\AttributeGroup\getAttributes
getAttributes()
Commercetools\Api\Models\AttributeGroup\AttributeGroup\setDescription
setDescription(?LocalizedString $description)
Commercetools\Api\Models\AttributeGroup\AttributeGroup\FIELD_NAME
const FIELD_NAME
Definition:
AttributeGroup.php:23
Commercetools\Api\Models\AttributeGroup\AttributeGroup\FIELD_KEY
const FIELD_KEY
Definition:
AttributeGroup.php:26
Commercetools\Api\Models\AttributeGroup\AttributeGroup\FIELD_ATTRIBUTES
const FIELD_ATTRIBUTES
Definition:
AttributeGroup.php:25
Commercetools\Api\Models\AttributeGroup\AttributeGroup\setAttributes
setAttributes(?AttributeReferenceCollection $attributes)
Commercetools\Api\Models\AttributeGroup\AttributeGroup\getCreatedAt
getCreatedAt()
Commercetools\Api\Models\AttributeGroup\AttributeGroup\getCreatedBy
getCreatedBy()
Commercetools\Api\Models\AttributeGroup\AttributeGroup\getKey
getKey()
Commercetools\Api\Models\AttributeGroup\AttributeGroup\FIELD_CREATED_BY
const FIELD_CREATED_BY
Definition:
AttributeGroup.php:22
Commercetools\Api\Models\AttributeGroup\AttributeGroup\setCreatedBy
setCreatedBy(?CreatedBy $createdBy)
Commercetools\Api\Models\AttributeGroup\AttributeGroup\setId
setId(?string $id)
Commercetools\Api\Models\AttributeGroup\AttributeGroup\FIELD_LAST_MODIFIED_BY
const FIELD_LAST_MODIFIED_BY
Definition:
AttributeGroup.php:21
Commercetools\Api\Models\AttributeGroup\AttributeGroup\getVersion
getVersion()
Commercetools\Api\Models\AttributeGroup\AttributeGroup\setName
setName(?LocalizedString $name)
Commercetools\Api\Models\AttributeGroup\AttributeGroup\getLastModifiedBy
getLastModifiedBy()
Commercetools\Api\Models\AttributeGroup\AttributeGroup\setKey
setKey(?string $key)
Commercetools\Api\Models\AttributeGroup\AttributeGroup\FIELD_DESCRIPTION
const FIELD_DESCRIPTION
Definition:
AttributeGroup.php:24
Commercetools\Api\Models\AttributeGroup\AttributeGroup\setLastModifiedAt
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)
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\Common\LocalizedString
Definition:
LocalizedString.php:14
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\AttributeGroup
Definition:
AttributeGroup.php:9
Generated by
1.9.1