3namespace Sale\Handlers\Delivery\YandexTaxi\Api\ApiResult\Journal;
10final class PriceChanged
extends Event
12 public const EVENT_CODE =
'price_changed';
18 protected $newCurrency;
23 public function getCode(): string
25 return static::EVENT_CODE;
31 public function getNewPrice()
33 return $this->newPrice;
40 public function setNewPrice(
string $newPrice): PriceChanged
42 $this->newPrice = $newPrice;
50 public function getNewCurrency()
52 return $this->newCurrency;
59 public function setNewCurrency(
string $newCurrency): PriceChanged
61 $this->newCurrency = $newCurrency;
69 public function provideUpdateFields():
array
72 'EXTERNAL_CURRENCY' => $this->newCurrency,
73 'EXTERNAL_FINAL_PRICE' => $this->newPrice,
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)