1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
priceresult.php
См. документацию.
1<?php
2
3namespace Sale\Handlers\Delivery\YandexTaxi\Api\ApiResult;
4
5use Bitrix\Main;
6
12final class PriceResult extends Main\Result
13{
15 private $price;
16
18 private $currency;
19
21 private $eta;
22
26 public function getPrice()
27 {
28 return $this->price;
29 }
30
35 public function setPrice(float $price): PriceResult
36 {
37 $this->price = $price;
38
39 return $this;
40 }
41
45 public function getCurrency()
46 {
47 return $this->currency;
48 }
49
54 public function setCurrency(string $currency): PriceResult
55 {
56 $this->currency = $currency;
57
58 return $this;
59 }
60
64 public function getEta(): ?int
65 {
66 return $this->eta;
67 }
68
73 public function setEta(?int $eta): PriceResult
74 {
75 $this->eta = $eta;
76
77 return $this;
78 }
79}
$currency
Определения template.php:266