1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
offerestimation.php
См. документацию.
1<?php
2
3namespace Sale\Handlers\Delivery\YandexTaxi\Api\RequestEntity;
4
10final class OfferEstimation extends RequestEntity
11{
13 protected array $items = [];
14
16 protected ClientRequirements $requirements;
17
19 protected array $routePoints;
20
24 public function getItems(): array
25 {
26 return $this->items;
27 }
28
33 public function addItem(ShippingItem $shippingItem): OfferEstimation
34 {
35 $this->items[] = $shippingItem;
36
37 return $this;
38 }
39
43 public function getRequirements(): ClientRequirements
44 {
45 return $this->requirements;
46 }
47
52 public function setRequirements(ClientRequirements $requirements): OfferEstimation
53 {
54 $this->requirements = $requirements;
55
56 return $this;
57 }
58
62 public function getRoutePoints(): array
63 {
64 return $this->routePoints;
65 }
66
71 public function addRoutePoint(Address $address): OfferEstimation
72 {
73 $this->routePoints[] = $address;
74
75 return $this;
76 }
77}
</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