commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Product
ProductChangePriceAction.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Product
;
10
11
use
Commercetools\Api\Models\Common\PriceDraft
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
ProductChangePriceAction
extends
ProductUpdateAction
16
{
17
public
const
FIELD_PRICE_ID
=
'priceId'
;
18
public
const
FIELD_PRICE
=
'price'
;
19
public
const
FIELD_STAGED
=
'staged'
;
20
27
public
function
getPriceId
();
28
35
public
function
getPrice
();
36
43
public
function
getStaged
();
44
48
public
function
setPriceId
(?
string
$priceId): void;
49
53
public
function
setPrice
(?
PriceDraft
$price): void;
54
58
public
function
setStaged
(?
bool
$staged): void;
59
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Common\PriceDraft
Definition:
PriceDraft.php:19
Commercetools\Api\Models\Product\ProductChangePriceAction
Definition:
ProductChangePriceAction.php:16
Commercetools\Api\Models\Product\ProductChangePriceAction\setPrice
setPrice(?PriceDraft $price)
Commercetools\Api\Models\Product\ProductChangePriceAction\getPriceId
getPriceId()
Commercetools\Api\Models\Product\ProductChangePriceAction\FIELD_PRICE_ID
const FIELD_PRICE_ID
Definition:
ProductChangePriceAction.php:17
Commercetools\Api\Models\Product\ProductChangePriceAction\getStaged
getStaged()
Commercetools\Api\Models\Product\ProductChangePriceAction\FIELD_PRICE
const FIELD_PRICE
Definition:
ProductChangePriceAction.php:18
Commercetools\Api\Models\Product\ProductChangePriceAction\setStaged
setStaged(?bool $staged)
Commercetools\Api\Models\Product\ProductChangePriceAction\FIELD_STAGED
const FIELD_STAGED
Definition:
ProductChangePriceAction.php:19
Commercetools\Api\Models\Product\ProductChangePriceAction\getPrice
getPrice()
Commercetools\Api\Models\Product\ProductChangePriceAction\setPriceId
setPriceId(?string $priceId)
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