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