commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Product
ProductSetPricesAction.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Product
;
10
11
use
Commercetools\Api\Models\Common\PriceDraftCollection
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
ProductSetPricesAction
extends
ProductUpdateAction
16
{
17
public
const
FIELD_VARIANT_ID
=
'variantId'
;
18
public
const
FIELD_SKU
=
'sku'
;
19
public
const
FIELD_PRICES
=
'prices'
;
20
public
const
FIELD_STAGED
=
'staged'
;
21
28
public
function
getVariantId
();
29
36
public
function
getSku
();
37
45
public
function
getPrices
();
46
53
public
function
getStaged
();
54
58
public
function
setVariantId
(?
int
$variantId): void;
59
63
public
function
setSku
(?
string
$sku): void;
64
68
public
function
setPrices
(?
PriceDraftCollection
$prices): void;
69
73
public
function
setStaged
(?
bool
$staged): void;
74
}
Commercetools\Api\Models\Common\PriceDraftCollection
Definition:
PriceDraftCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Product\ProductSetPricesAction
Definition:
ProductSetPricesAction.php:16
Commercetools\Api\Models\Product\ProductSetPricesAction\FIELD_VARIANT_ID
const FIELD_VARIANT_ID
Definition:
ProductSetPricesAction.php:17
Commercetools\Api\Models\Product\ProductSetPricesAction\getSku
getSku()
Commercetools\Api\Models\Product\ProductSetPricesAction\FIELD_SKU
const FIELD_SKU
Definition:
ProductSetPricesAction.php:18
Commercetools\Api\Models\Product\ProductSetPricesAction\FIELD_PRICES
const FIELD_PRICES
Definition:
ProductSetPricesAction.php:19
Commercetools\Api\Models\Product\ProductSetPricesAction\FIELD_STAGED
const FIELD_STAGED
Definition:
ProductSetPricesAction.php:20
Commercetools\Api\Models\Product\ProductSetPricesAction\setPrices
setPrices(?PriceDraftCollection $prices)
Commercetools\Api\Models\Product\ProductSetPricesAction\setStaged
setStaged(?bool $staged)
Commercetools\Api\Models\Product\ProductSetPricesAction\setSku
setSku(?string $sku)
Commercetools\Api\Models\Product\ProductSetPricesAction\setVariantId
setVariantId(?int $variantId)
Commercetools\Api\Models\Product\ProductSetPricesAction\getPrices
getPrices()
Commercetools\Api\Models\Product\ProductSetPricesAction\getVariantId
getVariantId()
Commercetools\Api\Models\Product\ProductSetPricesAction\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