1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
routepoint.php
См. документацию.
1<?php
2
3namespace Sale\Handlers\Delivery\YandexTaxi\Api\RequestEntity;
4
10final class RoutePoint extends RequestEntity
11{
13 protected $id;
14
16 protected $pointId;
17
19 protected $visitOrder;
20
22 protected $type;
23
25 protected $contact;
26
28 protected $address;
29
31 protected $skipConfirmation;
32
34 protected ?VisitedAt $visitedAt = null;
35
39 public function getId(): ?int
40 {
41 return $this->id;
42 }
43
48 public function setId(int $id): RoutePoint
49 {
50 $this->id = $id;
51 return $this;
52 }
53
58 public function setContact(Contact $contact): RoutePoint
59 {
60 $this->contact = $contact;
61
62 return $this;
63 }
64
69 public function setAddress(Address $address): RoutePoint
70 {
71 $this->address = $address;
72
73 return $this;
74 }
75
79 public function getVisitedAt(): ?VisitedAt
80 {
81 return $this->visitedAt;
82 }
83
88 public function setVisitedAt(?VisitedAt $visitedAt): RoutePoint
89 {
90 $this->visitedAt = $visitedAt;
91
92 return $this;
93 }
94
99 public function setSkipConfirmation(bool $skipConfirmation): RoutePoint
100 {
101 $this->skipConfirmation = $skipConfirmation;
102
103 return $this;
104 }
105
110 public function setPointId(int $pointId): RoutePoint
111 {
112 $this->pointId = $pointId;
113 return $this;
114 }
115
120 public function setVisitOrder(int $visitOrder): RoutePoint
121 {
122 $this->visitOrder = $visitOrder;
123 return $this;
124 }
125
130 public function setType(string $type): RoutePoint
131 {
132 $this->type = $type;
133 return $this;
134 }
135
139 public function getType(): string
140 {
141 return $this->type;
142 }
143}
$type
Определения options.php:106