commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Product
ProductRemoveVariantAction.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
ProductRemoveVariantAction
extends
ProductUpdateAction
15
{
16
public
const
FIELD_ID
=
'id'
;
17
public
const
FIELD_SKU
=
'sku'
;
18
public
const
FIELD_STAGED
=
'staged'
;
19
26
public
function
getId
();
27
34
public
function
getSku
();
35
42
public
function
getStaged
();
43
47
public
function
setId
(?
int
$id): 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\ProductRemoveVariantAction
Definition:
ProductRemoveVariantAction.php:15
Commercetools\Api\Models\Product\ProductRemoveVariantAction\setStaged
setStaged(?bool $staged)
Commercetools\Api\Models\Product\ProductRemoveVariantAction\getId
getId()
Commercetools\Api\Models\Product\ProductRemoveVariantAction\setId
setId(?int $id)
Commercetools\Api\Models\Product\ProductRemoveVariantAction\FIELD_ID
const FIELD_ID
Definition:
ProductRemoveVariantAction.php:16
Commercetools\Api\Models\Product\ProductRemoveVariantAction\setSku
setSku(?string $sku)
Commercetools\Api\Models\Product\ProductRemoveVariantAction\FIELD_SKU
const FIELD_SKU
Definition:
ProductRemoveVariantAction.php:17
Commercetools\Api\Models\Product\ProductRemoveVariantAction\FIELD_STAGED
const FIELD_STAGED
Definition:
ProductRemoveVariantAction.php:18
Commercetools\Api\Models\Product\ProductRemoveVariantAction\getStaged
getStaged()
Commercetools\Api\Models\Product\ProductRemoveVariantAction\getSku
getSku()
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