commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Message
ProductPriceRemovedMessage.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
ProductPriceRemovedMessage
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\ProductPriceRemovedMessage
Definition:
ProductPriceRemovedMessage.php:16
Commercetools\Api\Models\Message\ProductPriceRemovedMessage\getStaged
getStaged()
Commercetools\Api\Models\Message\ProductPriceRemovedMessage\setPrice
setPrice(?Price $price)
Commercetools\Api\Models\Message\ProductPriceRemovedMessage\FIELD_PRICE
const FIELD_PRICE
Definition:
ProductPriceRemovedMessage.php:18
Commercetools\Api\Models\Message\ProductPriceRemovedMessage\FIELD_VARIANT_ID
const FIELD_VARIANT_ID
Definition:
ProductPriceRemovedMessage.php:17
Commercetools\Api\Models\Message\ProductPriceRemovedMessage\FIELD_STAGED
const FIELD_STAGED
Definition:
ProductPriceRemovedMessage.php:19
Commercetools\Api\Models\Message\ProductPriceRemovedMessage\getPrice
getPrice()
Commercetools\Api\Models\Message\ProductPriceRemovedMessage\setStaged
setStaged(?bool $staged)
Commercetools\Api\Models\Message\ProductPriceRemovedMessage\getVariantId
getVariantId()
Commercetools\Api\Models\Message\ProductPriceRemovedMessage\setVariantId
setVariantId(?int $variantId)
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Message
Definition:
ApprovalFlowApprovedMessage.php:9
Generated by
1.9.1