1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
statuschanged.php
См. документацию.
1<?php
2
3namespace Sale\Handlers\Delivery\YandexTaxi\Api\ApiResult\Journal;
4
10final class StatusChanged extends Event
11{
12 public const EVENT_CODE = 'status_changed';
13
15 protected $newStatus;
16
18 protected $resolution;
19
23 public function getCode(): string
24 {
25 return static::EVENT_CODE;
26 }
27
31 public function getNewStatus()
32 {
33 return $this->newStatus;
34 }
35
40 public function setNewStatus(string $newStatus): StatusChanged
41 {
42 $this->newStatus = $newStatus;
43
44 return $this;
45 }
46
50 public function getResolution()
51 {
52 return $this->resolution;
53 }
54
59 public function setResolution(string $resolution): StatusChanged
60 {
61 $this->resolution = $resolution;
62
63 return $this;
64 }
65
69 public function provideUpdateFields(): array
70 {
71 return [
72 'EXTERNAL_STATUS' => $this->newStatus,
73 'EXTERNAL_RESOLUTION' => $this->resolution,
74 ];
75 }
76}
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804