commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
ProductPriceChangedMessage.php
1<?php
2
3declare(strict_types=1);
10
14
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}