commercetools-sdk-php-v2
master
The platform, import-api and ml-api PHP sdks generated from our api reference.
|
Public Member Functions | |
getContainer () | |
getKey () | |
getValue () | |
getVersion () | |
setContainer (?string $container) | |
setKey (?string $key) | |
setValue ($value) | |
setVersion (?int $version) | |
Public Member Functions inherited from Commercetools\Base\JsonObject | |
get (string $field) | |
with (callable $callable=null) | |
Public Attributes | |
const | FIELD_CONTAINER = 'container' |
const | FIELD_KEY = 'key' |
const | FIELD_VALUE = 'value' |
const | FIELD_VERSION = 'version' |
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 14 of file CustomObjectDraft.php.
Commercetools\Api\Models\CustomObject\CustomObjectDraft::getContainer | ( | ) |
Namespace to group CustomObjects.
Implemented in Commercetools\Api\Models\CustomObject\CustomObjectDraftModel.
Commercetools\Api\Models\CustomObject\CustomObjectDraft::getKey | ( | ) |
User-defined unique identifier of the CustomObject within the defined container
.
Implemented in Commercetools\Api\Models\CustomObject\CustomObjectDraftModel.
Commercetools\Api\Models\CustomObject\CustomObjectDraft::getValue | ( | ) |
JSON standard types Number, String, Boolean, Array, Object, and common API data types. For values of type Reference the integrity of the data is not guaranteed. If the referenced object is deleted, the API does not delete the corresponding reference to it and the value
points to a non-existing object in such case.
Implemented in Commercetools\Api\Models\CustomObject\CustomObjectDraftModel.
Commercetools\Api\Models\CustomObject\CustomObjectDraft::getVersion | ( | ) |
Current version of the CustomObject.
Implemented in Commercetools\Api\Models\CustomObject\CustomObjectDraftModel.
Commercetools\Api\Models\CustomObject\CustomObjectDraft::setContainer | ( | ?string | $container | ) |
?string | $container |
Implemented in Commercetools\Api\Models\CustomObject\CustomObjectDraftModel.
Commercetools\Api\Models\CustomObject\CustomObjectDraft::setKey | ( | ?string | $key | ) |
?string | $key |
Implemented in Commercetools\Api\Models\CustomObject\CustomObjectDraftModel.
Commercetools\Api\Models\CustomObject\CustomObjectDraft::setValue | ( | $value | ) |
mixed | $value |
Implemented in Commercetools\Api\Models\CustomObject\CustomObjectDraftModel.
Commercetools\Api\Models\CustomObject\CustomObjectDraft::setVersion | ( | ?int | $version | ) |
?int | $version |
Implemented in Commercetools\Api\Models\CustomObject\CustomObjectDraftModel.
const Commercetools\Api\Models\CustomObject\CustomObjectDraft::FIELD_CONTAINER = 'container' |
Definition at line 16 of file CustomObjectDraft.php.
const Commercetools\Api\Models\CustomObject\CustomObjectDraft::FIELD_KEY = 'key' |
Definition at line 17 of file CustomObjectDraft.php.
const Commercetools\Api\Models\CustomObject\CustomObjectDraft::FIELD_VALUE = 'value' |
Definition at line 18 of file CustomObjectDraft.php.
const Commercetools\Api\Models\CustomObject\CustomObjectDraft::FIELD_VERSION = 'version' |
Definition at line 19 of file CustomObjectDraft.php.