1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
phoneresult.php
См. документацию.
1<?php
2
3namespace Sale\Handlers\Delivery\YandexTaxi\Api\ApiResult;
4
5use Bitrix\Main\Result;
6
12final class PhoneResult extends Result
13{
15 private $phone;
16
18 private $ext;
19
21 private $ttlSeconds;
22
26 public function getPhone()
27 {
28 return $this->phone;
29 }
30
34 public function setPhone(string $phone)
35 {
36 $this->phone = $phone;
37 }
38
42 public function getExt()
43 {
44 return $this->ext;
45 }
46
50 public function setExt(string $ext)
51 {
52 $this->ext = $ext;
53 }
54
58 public function getTtlSeconds()
59 {
60 return $this->ttlSeconds;
61 }
62
67 public function setTtlSeconds(int $ttlSeconds): PhoneResult
68 {
69 $this->ttlSeconds = $ttlSeconds;
70
71 return $this;
72 }
73}