commercetools-sdk-php-v2
master
The platform, import-api and ml-api PHP sdks generated from our api reference.
|
Public Member Functions | |
getKey () | |
getGroupName () | |
getCustom () | |
setKey (?string $key) | |
setGroupName (?string $groupName) | |
setCustom (?CustomFieldsDraft $custom) | |
Public Member Functions inherited from Commercetools\Base\JsonObject | |
get (string $field) | |
with (callable $callable=null) | |
Public Attributes | |
const | FIELD_KEY = 'key' |
const | FIELD_GROUP_NAME = 'groupName' |
const | FIELD_CUSTOM = 'custom' |
Additional Inherited Members | |
Static Public Member Functions inherited from Commercetools\Base\JsonObject | |
static | of ($data=null) |
static | fromArray (array $data=[]) |
static | fromStdClass (stdClass $data=null) |
Definition at line 15 of file CustomerGroupDraft.php.
Commercetools\Api\Models\CustomerGroup\CustomerGroupDraft::getCustom | ( | ) |
Custom Fields for the CustomerGroup.
Implemented in Commercetools\Api\Models\CustomerGroup\CustomerGroupDraftModel.
Commercetools\Api\Models\CustomerGroup\CustomerGroupDraft::getGroupName | ( | ) |
Unique value which must be different from any value used for name
in CustomerGroup in the Project. If not, a DuplicateField error is returned.
Implemented in Commercetools\Api\Models\CustomerGroup\CustomerGroupDraftModel.
Commercetools\Api\Models\CustomerGroup\CustomerGroupDraft::getKey | ( | ) |
User-defined unique identifier for the CustomerGroup.
Implemented in Commercetools\Api\Models\CustomerGroup\CustomerGroupDraftModel.
Commercetools\Api\Models\CustomerGroup\CustomerGroupDraft::setCustom | ( | ?CustomFieldsDraft | $custom | ) |
?CustomFieldsDraft | $custom |
Implemented in Commercetools\Api\Models\CustomerGroup\CustomerGroupDraftModel.
Commercetools\Api\Models\CustomerGroup\CustomerGroupDraft::setGroupName | ( | ?string | $groupName | ) |
?string | $groupName |
Implemented in Commercetools\Api\Models\CustomerGroup\CustomerGroupDraftModel.
Commercetools\Api\Models\CustomerGroup\CustomerGroupDraft::setKey | ( | ?string | $key | ) |
?string | $key |
Implemented in Commercetools\Api\Models\CustomerGroup\CustomerGroupDraftModel.
const Commercetools\Api\Models\CustomerGroup\CustomerGroupDraft::FIELD_CUSTOM = 'custom' |
Definition at line 19 of file CustomerGroupDraft.php.
const Commercetools\Api\Models\CustomerGroup\CustomerGroupDraft::FIELD_GROUP_NAME = 'groupName' |
Definition at line 18 of file CustomerGroupDraft.php.
const Commercetools\Api\Models\CustomerGroup\CustomerGroupDraft::FIELD_KEY = 'key' |
Definition at line 17 of file CustomerGroupDraft.php.