commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Message
ProductPriceChangedMessage.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
ProductPriceChangedMessage
extends
Message
16
{
17
public
const
FIELD_VARIANT_ID
=
'variantId'
;
18
public
const
FIELD_OLD_PRICE
=
'oldPrice'
;
19
public
const
FIELD_NEW_PRICE
=
'newPrice'
;
20
public
const
FIELD_STAGED
=
'staged'
;
21
public
const
FIELD_OLD_STAGED_PRICE
=
'oldStagedPrice'
;
22
29
public
function
getVariantId
();
30
37
public
function
getOldPrice
();
38
45
public
function
getNewPrice
();
46
53
public
function
getStaged
();
54
61
public
function
getOldStagedPrice
();
62
66
public
function
setVariantId
(?
int
$variantId): void;
67
71
public
function
setOldPrice
(?
Price
$oldPrice): void;
72
76
public
function
setNewPrice
(?
Price
$newPrice): void;
77
81
public
function
setStaged
(?
bool
$staged): void;
82
86
public
function
setOldStagedPrice
(?
Price
$oldStagedPrice): void;
87
}
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\ProductPriceChangedMessage
Definition:
ProductPriceChangedMessage.php:16
Commercetools\Api\Models\Message\ProductPriceChangedMessage\setOldPrice
setOldPrice(?Price $oldPrice)
Commercetools\Api\Models\Message\ProductPriceChangedMessage\setStaged
setStaged(?bool $staged)
Commercetools\Api\Models\Message\ProductPriceChangedMessage\setVariantId
setVariantId(?int $variantId)
Commercetools\Api\Models\Message\ProductPriceChangedMessage\FIELD_OLD_STAGED_PRICE
const FIELD_OLD_STAGED_PRICE
Definition:
ProductPriceChangedMessage.php:21
Commercetools\Api\Models\Message\ProductPriceChangedMessage\getStaged
getStaged()
Commercetools\Api\Models\Message\ProductPriceChangedMessage\getNewPrice
getNewPrice()
Commercetools\Api\Models\Message\ProductPriceChangedMessage\FIELD_STAGED
const FIELD_STAGED
Definition:
ProductPriceChangedMessage.php:20
Commercetools\Api\Models\Message\ProductPriceChangedMessage\setNewPrice
setNewPrice(?Price $newPrice)
Commercetools\Api\Models\Message\ProductPriceChangedMessage\getOldPrice
getOldPrice()
Commercetools\Api\Models\Message\ProductPriceChangedMessage\FIELD_OLD_PRICE
const FIELD_OLD_PRICE
Definition:
ProductPriceChangedMessage.php:18
Commercetools\Api\Models\Message\ProductPriceChangedMessage\getVariantId
getVariantId()
Commercetools\Api\Models\Message\ProductPriceChangedMessage\setOldStagedPrice
setOldStagedPrice(?Price $oldStagedPrice)
Commercetools\Api\Models\Message\ProductPriceChangedMessage\FIELD_NEW_PRICE
const FIELD_NEW_PRICE
Definition:
ProductPriceChangedMessage.php:19
Commercetools\Api\Models\Message\ProductPriceChangedMessage\FIELD_VARIANT_ID
const FIELD_VARIANT_ID
Definition:
ProductPriceChangedMessage.php:17
Commercetools\Api\Models\Message\ProductPriceChangedMessage\getOldStagedPrice
getOldStagedPrice()
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Message
Definition:
ApprovalFlowApprovedMessage.php:9
Generated by
1.9.1