commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Message
ProductPricesSetMessage.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Message
;
10
11
use
Commercetools\Api\Models\Common\PriceCollection
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
ProductPricesSetMessage
extends
Message
16
{
17
public
const
FIELD_VARIANT_ID
=
'variantId'
;
18
public
const
FIELD_PRICES
=
'prices'
;
19
public
const
FIELD_STAGED
=
'staged'
;
20
27
public
function
getVariantId
();
28
35
public
function
getPrices
();
36
43
public
function
getStaged
();
44
48
public
function
setVariantId
(?
int
$variantId): void;
49
53
public
function
setPrices
(?
PriceCollection
$prices): void;
54
58
public
function
setStaged
(?
bool
$staged): void;
59
}
Commercetools\Api\Models\Common\PriceCollection
Definition:
PriceCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Message\Message
Definition:
Message.php:20
Commercetools\Api\Models\Message\ProductPricesSetMessage
Definition:
ProductPricesSetMessage.php:16
Commercetools\Api\Models\Message\ProductPricesSetMessage\setPrices
setPrices(?PriceCollection $prices)
Commercetools\Api\Models\Message\ProductPricesSetMessage\getVariantId
getVariantId()
Commercetools\Api\Models\Message\ProductPricesSetMessage\getStaged
getStaged()
Commercetools\Api\Models\Message\ProductPricesSetMessage\FIELD_VARIANT_ID
const FIELD_VARIANT_ID
Definition:
ProductPricesSetMessage.php:17
Commercetools\Api\Models\Message\ProductPricesSetMessage\setVariantId
setVariantId(?int $variantId)
Commercetools\Api\Models\Message\ProductPricesSetMessage\getPrices
getPrices()
Commercetools\Api\Models\Message\ProductPricesSetMessage\FIELD_PRICES
const FIELD_PRICES
Definition:
ProductPricesSetMessage.php:18
Commercetools\Api\Models\Message\ProductPricesSetMessage\FIELD_STAGED
const FIELD_STAGED
Definition:
ProductPricesSetMessage.php:19
Commercetools\Api\Models\Message\ProductPricesSetMessage\setStaged
setStaged(?bool $staged)
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Message
Definition:
ApprovalFlowApprovedMessage.php:9
Generated by
1.9.1