1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
estimation.php
См. документацию.
1<?php
2
3namespace Sale\Handlers\Delivery\YandexTaxi\Api\RequestEntity;
4
10final class Estimation extends RequestEntity
11{
13 protected $items = [];
14
16 protected $requirements;
17
19 protected $routePoints;
20
22 protected $skipDoorToDoor;
23
27 public function getItems(): array
28 {
29 return $this->items;
30 }
31
36 public function addItem(ShippingItem $shippingItem): Estimation
37 {
38 $this->items[] = $shippingItem;
39
40 return $this;
41 }
42
46 public function getRequirements()
47 {
48 return $this->requirements;
49 }
50
55 public function setRequirements(TransportClassification $requirements): Estimation
56 {
57 $this->requirements = $requirements;
58
59 return $this;
60 }
61
65 public function getRoutePoints()
66 {
67 return $this->routePoints;
68 }
69
74 public function addRoutePoint(Address $address): Estimation
75 {
76 $this->routePoints[] = $address;
77
78 return $this;
79 }
80
84 public function isSkipDoorToDoor()
85 {
86 return $this->skipDoorToDoor;
87 }
88
93 public function setSkipDoorToDoor(bool $skipDoorToDoor): Estimation
94 {
95 $this->skipDoorToDoor = $skipDoorToDoor;
96
97 return $this;
98 }
99}
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
$items
Определения template.php:224