commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Product
ProductSetSkuAction.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
ProductSetSkuAction
extends
ProductUpdateAction
15
{
16
public
const
FIELD_VARIANT_ID
=
'variantId'
;
17
public
const
FIELD_SKU
=
'sku'
;
18
public
const
FIELD_STAGED
=
'staged'
;
19
26
public
function
getVariantId
();
27
34
public
function
getSku
();
35
42
public
function
getStaged
();
43
47
public
function
setVariantId
(?
int
$variantId): void;
48
52
public
function
setSku
(?
string
$sku): void;
53
57
public
function
setStaged
(?
bool
$staged): void;
58
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Product\ProductSetSkuAction
Definition:
ProductSetSkuAction.php:15
Commercetools\Api\Models\Product\ProductSetSkuAction\FIELD_SKU
const FIELD_SKU
Definition:
ProductSetSkuAction.php:17
Commercetools\Api\Models\Product\ProductSetSkuAction\setSku
setSku(?string $sku)
Commercetools\Api\Models\Product\ProductSetSkuAction\setVariantId
setVariantId(?int $variantId)
Commercetools\Api\Models\Product\ProductSetSkuAction\getVariantId
getVariantId()
Commercetools\Api\Models\Product\ProductSetSkuAction\setStaged
setStaged(?bool $staged)
Commercetools\Api\Models\Product\ProductSetSkuAction\FIELD_STAGED
const FIELD_STAGED
Definition:
ProductSetSkuAction.php:18
Commercetools\Api\Models\Product\ProductSetSkuAction\getSku
getSku()
Commercetools\Api\Models\Product\ProductSetSkuAction\FIELD_VARIANT_ID
const FIELD_VARIANT_ID
Definition:
ProductSetSkuAction.php:16
Commercetools\Api\Models\Product\ProductSetSkuAction\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