Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
sendmessage.php
1<?php
3
7
8class SendMessage extends Result
9{
10 protected $id;
11 protected $externalId;
12 protected $status;
13 protected $serviceRequest;
15
20 public function setId($id)
21 {
22 $this->id = (string)$id;
23 return $this;
24 }
25
29 public function getId()
30 {
31 return $this->id;
32 }
33
37 public function getExternalId()
38 {
39 return $this->externalId;
40 }
41
46 public function setExternalId($externalId)
47 {
48 $this->externalId = $externalId;
49 return $this;
50 }
51
56 public function getStatus()
57 {
58 return $this->status;
59 }
60
66 public function setStatus($status)
67 {
68 $this->status = $status;
69 return $this;
70 }
71
77 public function setAccepted()
78 {
80 return $this;
81 }
82
86 public function getServiceRequest(): ?DTO\Request
87 {
89 }
90
95 {
96 $this->serviceRequest = $serviceRequest;
97 return $this;
98 }
99
103 public function getServiceResponse(): ?DTO\Response
104 {
106 }
107
112 {
113 $this->serviceResponse = $serviceResponse;
114 return $this;
115 }
116}
setServiceResponse(DTO\Response $serviceResponse)
setServiceRequest(DTO\Request $serviceRequest)