1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
priceresult.php
См. документацию.
1
<?php
2
3
namespace
Sale\Handlers\Delivery\YandexTaxi\Api\ApiResult;
4
5
use Bitrix\Main;
6
12
final
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
}
Bitrix\Main\ORM\Data\Result
Определения
result.php:16
$currency
$currency
Определения
template.php:266
bitrix
modules
sale
handlers
delivery
yandextaxi
api
apiresult
priceresult.php
Создано системой
1.14.0