commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Product
ProductSetAttributeAction.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Product
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
14
interface
ProductSetAttributeAction
extends
ProductUpdateAction
15
{
16
public
const
FIELD_VARIANT_ID
=
'variantId'
;
17
public
const
FIELD_SKU
=
'sku'
;
18
public
const
FIELD_NAME
=
'name'
;
19
public
const
FIELD_VALUE
=
'value'
;
20
public
const
FIELD_STAGED
=
'staged'
;
21
28
public
function
getVariantId
();
29
36
public
function
getSku
();
37
44
public
function
getName
();
45
63
public
function
getValue
();
64
71
public
function
getStaged
();
72
76
public
function
setVariantId
(?
int
$variantId): void;
77
81
public
function
setSku
(?
string
$sku): void;
82
86
public
function
setName
(?
string
$name): void;
87
91
public
function
setValue
($value): void;
92
96
public
function
setStaged
(?
bool
$staged): void;
97
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Product\ProductSetAttributeAction
Definition:
ProductSetAttributeAction.php:15
Commercetools\Api\Models\Product\ProductSetAttributeAction\FIELD_NAME
const FIELD_NAME
Definition:
ProductSetAttributeAction.php:18
Commercetools\Api\Models\Product\ProductSetAttributeAction\FIELD_SKU
const FIELD_SKU
Definition:
ProductSetAttributeAction.php:17
Commercetools\Api\Models\Product\ProductSetAttributeAction\getVariantId
getVariantId()
Commercetools\Api\Models\Product\ProductSetAttributeAction\setName
setName(?string $name)
Commercetools\Api\Models\Product\ProductSetAttributeAction\setVariantId
setVariantId(?int $variantId)
Commercetools\Api\Models\Product\ProductSetAttributeAction\setValue
setValue($value)
Commercetools\Api\Models\Product\ProductSetAttributeAction\getSku
getSku()
Commercetools\Api\Models\Product\ProductSetAttributeAction\FIELD_VALUE
const FIELD_VALUE
Definition:
ProductSetAttributeAction.php:19
Commercetools\Api\Models\Product\ProductSetAttributeAction\setStaged
setStaged(?bool $staged)
Commercetools\Api\Models\Product\ProductSetAttributeAction\setSku
setSku(?string $sku)
Commercetools\Api\Models\Product\ProductSetAttributeAction\getValue
getValue()
Commercetools\Api\Models\Product\ProductSetAttributeAction\FIELD_STAGED
const FIELD_STAGED
Definition:
ProductSetAttributeAction.php:20
Commercetools\Api\Models\Product\ProductSetAttributeAction\getName
getName()
Commercetools\Api\Models\Product\ProductSetAttributeAction\FIELD_VARIANT_ID
const FIELD_VARIANT_ID
Definition:
ProductSetAttributeAction.php:16
Commercetools\Api\Models\Product\ProductSetAttributeAction\getStaged
getStaged()
Commercetools\Api\Models\Product\ProductUpdateAction
Definition:
ProductUpdateAction.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Product
Definition:
AttributeAccessor.php:4
Generated by
1.9.1