commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
AttributeGroup
AttributeGroupDraft.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\AttributeGroup
;
10
11
use
Commercetools\Api\Models\Common\LocalizedString
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
AttributeGroupDraft
extends
JsonObject
16
{
17
public
const
FIELD_NAME
=
'name'
;
18
public
const
FIELD_DESCRIPTION
=
'description'
;
19
public
const
FIELD_ATTRIBUTES
=
'attributes'
;
20
public
const
FIELD_KEY
=
'key'
;
21
28
public
function
getName
();
29
36
public
function
getDescription
();
37
44
public
function
getAttributes
();
45
52
public
function
getKey
();
53
57
public
function
setName
(?
LocalizedString
$name): void;
58
62
public
function
setDescription
(?
LocalizedString
$description): void;
63
67
public
function
setAttributes
(?
AttributeReferenceCollection
$attributes): void;
68
72
public
function
setKey
(?
string
$key): void;
73
}
Commercetools\Api\Models\AttributeGroup\AttributeReferenceCollection
Definition:
AttributeReferenceCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\AttributeGroup\AttributeGroupDraft
Definition:
AttributeGroupDraft.php:16
Commercetools\Api\Models\AttributeGroup\AttributeGroupDraft\FIELD_DESCRIPTION
const FIELD_DESCRIPTION
Definition:
AttributeGroupDraft.php:18
Commercetools\Api\Models\AttributeGroup\AttributeGroupDraft\setName
setName(?LocalizedString $name)
Commercetools\Api\Models\AttributeGroup\AttributeGroupDraft\FIELD_NAME
const FIELD_NAME
Definition:
AttributeGroupDraft.php:17
Commercetools\Api\Models\AttributeGroup\AttributeGroupDraft\getName
getName()
Commercetools\Api\Models\AttributeGroup\AttributeGroupDraft\setKey
setKey(?string $key)
Commercetools\Api\Models\AttributeGroup\AttributeGroupDraft\FIELD_KEY
const FIELD_KEY
Definition:
AttributeGroupDraft.php:20
Commercetools\Api\Models\AttributeGroup\AttributeGroupDraft\setAttributes
setAttributes(?AttributeReferenceCollection $attributes)
Commercetools\Api\Models\AttributeGroup\AttributeGroupDraft\getKey
getKey()
Commercetools\Api\Models\AttributeGroup\AttributeGroupDraft\FIELD_ATTRIBUTES
const FIELD_ATTRIBUTES
Definition:
AttributeGroupDraft.php:19
Commercetools\Api\Models\AttributeGroup\AttributeGroupDraft\getDescription
getDescription()
Commercetools\Api\Models\AttributeGroup\AttributeGroupDraft\getAttributes
getAttributes()
Commercetools\Api\Models\AttributeGroup\AttributeGroupDraft\setDescription
setDescription(?LocalizedString $description)
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