1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
claim.php
См. документацию.
1<?php
2
3namespace Sale\Handlers\Delivery\YandexTaxi\Api\RequestEntity;
4
10final class Claim extends RequestEntity
11{
13 protected $emergencyContact;
14
16 protected $items = [];
17
19 protected $routePoints = [];
20
22 protected $id;
23
25 protected $corpClientId;
26
28 protected $status;
29
31 protected $version;
32
34 protected $pricing;
35
37 protected $skipClientNotify;
38
40 protected $skipEmergencyNotify;
41
43 protected $skipDoorToDoor;
44
46 protected $optionalReturn;
47
49 protected $comment;
50
52 protected $clientRequirements;
53
55 protected $matchedCars = [];
56
58 protected $performerInfo;
59
61 protected $errorMessages = [];
62
64 protected $warnings = [];
65
67 protected $createdTs;
68
70 protected $updatedTs;
71
73 protected $referralSource;
74
76 protected ?string $offerPayload;
77
82 public function setEmergencyContact(Contact $emergencyContact): Claim
83 {
84 $this->emergencyContact = $emergencyContact;
85
86 return $this;
87 }
88
93 public function addItem(ShippingItem $shippingItem): Claim
94 {
95 $this->items[] = $shippingItem;
96
97 return $this;
98 }
99
103 public function getRoutePoints(): array
104 {
105 return $this->routePoints;
106 }
107
112 public function setRoutePoints(array $routePoints): Claim
113 {
114 $this->routePoints = $routePoints;
115
116 return $this;
117 }
118
122 public function getId()
123 {
124 return $this->id;
125 }
126
131 public function setId(string $id): Claim
132 {
133 $this->id = $id;
134
135 return $this;
136 }
137
142 public function setCorpClientId(string $corpClientId): Claim
143 {
144 $this->corpClientId = $corpClientId;
145
146 return $this;
147 }
148
152 public function getStatus()
153 {
154 return $this->status;
155 }
156
161 public function setStatus(string $status): Claim
162 {
163 $this->status = $status;
164
165 return $this;
166 }
167
171 public function getVersion()
172 {
173 return $this->version;
174 }
175
180 public function setVersion(int $version): Claim
181 {
182 $this->version = $version;
183
184 return $this;
185 }
186
190 public function getPricing()
191 {
192 return $this->pricing;
193 }
194
199 public function setPricing(Pricing $pricing): Claim
200 {
201 $this->pricing = $pricing;
202
203 return $this;
204 }
205
210 public function setSkipClientNotify(bool $skipClientNotify): Claim
211 {
212 $this->skipClientNotify = $skipClientNotify;
213
214 return $this;
215 }
216
221 public function setSkipEmergencyNotify(bool $skipEmergencyNotify): Claim
222 {
223 $this->skipEmergencyNotify = $skipEmergencyNotify;
224
225 return $this;
226 }
227
232 public function setSkipDoorToDoor(bool $skipDoorToDoor): Claim
233 {
234 $this->skipDoorToDoor = $skipDoorToDoor;
235
236 return $this;
237 }
238
243 public function setOptionalReturn(bool $optionalReturn): Claim
244 {
245 $this->optionalReturn = $optionalReturn;
246
247 return $this;
248 }
249
254 public function setComment(string $comment): Claim
255 {
256 $this->comment = $comment;
257
258 return $this;
259 }
260
264 public function getCreatedTs()
265 {
266 return $this->createdTs;
267 }
268
273 public function setCreatedTs(string $createdTs): Claim
274 {
275 $this->createdTs = $createdTs;
276
277 return $this;
278 }
279
283 public function getUpdatedTs()
284 {
285 return $this->updatedTs;
286 }
287
292 public function setUpdatedTs(string $updatedTs): Claim
293 {
294 $this->updatedTs = $updatedTs;
295
296 return $this;
297 }
298
303 public function setClientRequirements(TransportClassification $clientRequirements): Claim
304 {
305 $this->clientRequirements = $clientRequirements;
306
307 return $this;
308 }
309
313 public function getClientRequirements(): TransportClassification
314 {
315 return $this->clientRequirements;
316 }
317
322 public function addMatchedCar(TransportClassification $transportClassification): Claim
323 {
324 $this->matchedCars[] = $transportClassification;
325
326 return $this;
327 }
328
332 public function getPerformerInfo()
333 {
334 return $this->performerInfo;
335 }
336
341 public function setPerformerInfo(PerformerInfo $performerInfo): Claim
342 {
343 $this->performerInfo = $performerInfo;
344
345 return $this;
346 }
347
351 public function getErrorMessages(): array
352 {
353 return $this->errorMessages;
354 }
355
360 public function addErrorMessage(ErrorMessage $error): Claim
361 {
362 $this->errorMessages[] = $error;
363
364 return $this;
365 }
366
370 public function getWarnings(): array
371 {
372 return $this->warnings;
373 }
374
379 public function addWarning(Warning $warning): Claim
380 {
381 $this->warnings[] = $warning;
382
383 return $this;
384 }
385
390 public function setReferralSource(string $referralSource): Claim
391 {
392 $this->referralSource = $referralSource;
393
394 return $this;
395 }
396
401 public function setOfferPayload(string $offerPayload): Claim
402 {
403 $this->offerPayload = $offerPayload;
404
405 return $this;
406 }
407}
xml version
Определения yandex.php:67
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
$status
Определения session.php:10
$error
Определения subscription_card_product.php:20