Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
statusupdate.php
1
<?php
2
3
namespace
Bitrix\MessageService\DTO
;
4
5
class
StatusUpdate
6
{
7
public
$internalId
;
8
public
$externalId
;
9
public
$providerStatus
;
10
public
$deliveryStatus
;
11
public
$deliveryError
;
12
13
public
function
__construct
(array $fields =
null
)
14
{
15
if
($fields !==
null
)
16
{
17
$this->
hydrate
($fields);
18
}
19
}
20
21
public
function
hydrate
(array $fields)
22
{
23
$this->internalId = $fields[
'internalId'
] ??
$this->internalId
;
24
$this->externalId = $fields[
'externalId'
] ??
$this->externalId
;
25
$this->providerStatus = $fields[
'providerStatus'
] ??
$this->providerStatus
;
26
$this->deliveryStatus = $fields[
'deliveryStatus'
] ??
$this->deliveryStatus
;
27
$this->deliveryError = $fields[
'deliveryError'
] ??
$this->deliveryError
;
28
}
29
}
Bitrix\MessageService\DTO\StatusUpdate
Definition
statusupdate.php:6
Bitrix\MessageService\DTO\StatusUpdate\__construct
__construct(array $fields=null)
Definition
statusupdate.php:13
Bitrix\MessageService\DTO\StatusUpdate\$internalId
$internalId
Definition
statusupdate.php:7
Bitrix\MessageService\DTO\StatusUpdate\$deliveryError
$deliveryError
Definition
statusupdate.php:11
Bitrix\MessageService\DTO\StatusUpdate\$providerStatus
$providerStatus
Definition
statusupdate.php:9
Bitrix\MessageService\DTO\StatusUpdate\$externalId
$externalId
Definition
statusupdate.php:8
Bitrix\MessageService\DTO\StatusUpdate\$deliveryStatus
$deliveryStatus
Definition
statusupdate.php:10
Bitrix\MessageService\DTO\StatusUpdate\hydrate
hydrate(array $fields)
Definition
statusupdate.php:21
Bitrix\MessageService\DTO
Definition
request.php:3
modules
messageservice
lib
dto
statusupdate.php
Создано системой
1.10.0