![]() |
commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
|
Inherits Commercetools\Base\JsonObjectModel, and Commercetools\Api\Models\Product\ProductSetMetaKeywordsAction.
Public Member Functions | |
| __construct (?LocalizedString $metaKeywords=null, ?bool $staged=null, ?string $action=null) | |
| getAction () | |
| getMetaKeywords () | |
| getStaged () | |
| setMetaKeywords (?LocalizedString $metaKeywords) | |
| setStaged (?bool $staged) | |
Public Member Functions inherited from Commercetools\Base\JsonObjectModel | |
| get (string $field) | |
| with (?callable $callable=null) | |
Public Member Functions inherited from Commercetools\Base\BaseJsonObject | |
| jsonSerialize () | |
Public Attributes | |
| const | DISCRIMINATOR_VALUE = 'setMetaKeywords' |
Public Attributes inherited from Commercetools\Api\Models\Product\ProductSetMetaKeywordsAction | |
| const | FIELD_META_KEYWORDS = 'metaKeywords' |
| const | FIELD_STAGED = 'staged' |
Public Attributes inherited from Commercetools\Api\Models\Product\ProductUpdateAction | |
| const | DISCRIMINATOR_FIELD = 'action' |
| const | FIELD_ACTION = 'action' |
Protected Attributes | |
| $action | |
| $metaKeywords | |
| $staged | |
Additional Inherited Members | |
Static Public Member Functions inherited from Commercetools\Base\BaseJsonObject | |
| static | of ($data=null) |
| static | fromStdClass (?stdClass $data=null) |
| static | fromArray (array $data=[]) |
Protected Member Functions inherited from Commercetools\Base\JsonObjectModel | |
| toArray () | |
Protected Member Functions inherited from Commercetools\Base\BaseJsonObject | |
| raw (string $field) | |
| getRawDataArray () | |
Definition at line 22 of file ProductSetMetaKeywordsActionModel.php.
| Commercetools\Api\Models\Product\ProductSetMetaKeywordsActionModel::__construct | ( | ?LocalizedString | $metaKeywords = null, |
| ?bool | $staged = null, |
||
| ?string | $action = null |
||
| ) |
@psalm-suppress MissingParamType
Definition at line 47 of file ProductSetMetaKeywordsActionModel.php.
| Commercetools\Api\Models\Product\ProductSetMetaKeywordsActionModel::getAction | ( | ) |
@psalm-var ?string $data
Implements Commercetools\Api\Models\Product\ProductUpdateAction.
Definition at line 61 of file ProductSetMetaKeywordsActionModel.php.
| Commercetools\Api\Models\Product\ProductSetMetaKeywordsActionModel::getMetaKeywords | ( | ) |
Value to set. If empty, any existing value will be removed.
@psalm-var stdClass|array<string, mixed>|null $data
Implements Commercetools\Api\Models\Product\ProductSetMetaKeywordsAction.
Definition at line 81 of file ProductSetMetaKeywordsActionModel.php.
| Commercetools\Api\Models\Product\ProductSetMetaKeywordsActionModel::getStaged | ( | ) |
If true, only the staged metaKeywords is updated. If false, both the current and staged metaKeywords are updated.
@psalm-var ?bool $data
Implements Commercetools\Api\Models\Product\ProductSetMetaKeywordsAction.
Definition at line 102 of file ProductSetMetaKeywordsActionModel.php.
| Commercetools\Api\Models\Product\ProductSetMetaKeywordsActionModel::setMetaKeywords | ( | ?LocalizedString | $metaKeywords | ) |
| ?LocalizedString | $metaKeywords |
Implements Commercetools\Api\Models\Product\ProductSetMetaKeywordsAction.
Definition at line 120 of file ProductSetMetaKeywordsActionModel.php.
| Commercetools\Api\Models\Product\ProductSetMetaKeywordsActionModel::setStaged | ( | ?bool | $staged | ) |
| ?bool | $staged |
Implements Commercetools\Api\Models\Product\ProductSetMetaKeywordsAction.
Definition at line 128 of file ProductSetMetaKeywordsActionModel.php.
|
protected |
Definition at line 29 of file ProductSetMetaKeywordsActionModel.php.
|
protected |
Definition at line 35 of file ProductSetMetaKeywordsActionModel.php.
|
protected |
Definition at line 41 of file ProductSetMetaKeywordsActionModel.php.
| const Commercetools\Api\Models\Product\ProductSetMetaKeywordsActionModel::DISCRIMINATOR_VALUE = 'setMetaKeywords' |
Definition at line 24 of file ProductSetMetaKeywordsActionModel.php.