commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Product
ProductRemoveAssetAction.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
ProductRemoveAssetAction
extends
ProductUpdateAction
15
{
16
public
const
FIELD_VARIANT_ID
=
'variantId'
;
17
public
const
FIELD_SKU
=
'sku'
;
18
public
const
FIELD_STAGED
=
'staged'
;
19
public
const
FIELD_ASSET_ID
=
'assetId'
;
20
public
const
FIELD_ASSET_KEY
=
'assetKey'
;
21
28
public
function
getVariantId
();
29
36
public
function
getSku
();
37
44
public
function
getStaged
();
45
52
public
function
getAssetId
();
53
60
public
function
getAssetKey
();
61
65
public
function
setVariantId
(?
int
$variantId): void;
66
70
public
function
setSku
(?
string
$sku): void;
71
75
public
function
setStaged
(?
bool
$staged): void;
76
80
public
function
setAssetId
(?
string
$assetId): void;
81
85
public
function
setAssetKey
(?
string
$assetKey): void;
86
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Product\ProductRemoveAssetAction
Definition:
ProductRemoveAssetAction.php:15
Commercetools\Api\Models\Product\ProductRemoveAssetAction\FIELD_SKU
const FIELD_SKU
Definition:
ProductRemoveAssetAction.php:17
Commercetools\Api\Models\Product\ProductRemoveAssetAction\setStaged
setStaged(?bool $staged)
Commercetools\Api\Models\Product\ProductRemoveAssetAction\FIELD_ASSET_KEY
const FIELD_ASSET_KEY
Definition:
ProductRemoveAssetAction.php:20
Commercetools\Api\Models\Product\ProductRemoveAssetAction\FIELD_VARIANT_ID
const FIELD_VARIANT_ID
Definition:
ProductRemoveAssetAction.php:16
Commercetools\Api\Models\Product\ProductRemoveAssetAction\getAssetId
getAssetId()
Commercetools\Api\Models\Product\ProductRemoveAssetAction\setSku
setSku(?string $sku)
Commercetools\Api\Models\Product\ProductRemoveAssetAction\getStaged
getStaged()
Commercetools\Api\Models\Product\ProductRemoveAssetAction\setAssetKey
setAssetKey(?string $assetKey)
Commercetools\Api\Models\Product\ProductRemoveAssetAction\FIELD_STAGED
const FIELD_STAGED
Definition:
ProductRemoveAssetAction.php:18
Commercetools\Api\Models\Product\ProductRemoveAssetAction\getVariantId
getVariantId()
Commercetools\Api\Models\Product\ProductRemoveAssetAction\setAssetId
setAssetId(?string $assetId)
Commercetools\Api\Models\Product\ProductRemoveAssetAction\FIELD_ASSET_ID
const FIELD_ASSET_ID
Definition:
ProductRemoveAssetAction.php:19
Commercetools\Api\Models\Product\ProductRemoveAssetAction\setVariantId
setVariantId(?int $variantId)
Commercetools\Api\Models\Product\ProductRemoveAssetAction\getSku
getSku()
Commercetools\Api\Models\Product\ProductRemoveAssetAction\getAssetKey
getAssetKey()
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