1 | <?php |
||
16 | final class SummaryResult implements ApiResponse |
||
17 | { |
||
18 | /** |
||
19 | * @var int |
||
20 | */ |
||
21 | private $deliverable = 0; |
||
22 | |||
23 | /** |
||
24 | * @var int |
||
25 | */ |
||
26 | private $doNotSend = 0; |
||
27 | |||
28 | /** |
||
29 | * @var int |
||
30 | */ |
||
31 | private $undeliverable = 0; |
||
32 | |||
33 | /** |
||
34 | * @var int |
||
35 | */ |
||
36 | private $catchAll = 0; |
||
37 | |||
38 | /** |
||
39 | * @var int |
||
40 | */ |
||
41 | private $unknown = 0; |
||
42 | |||
43 | 8 | public static function create(array $data): self |
|
54 | |||
55 | 8 | private function __construct() |
|
58 | |||
59 | 1 | public function getDeliverable(): int |
|
63 | |||
64 | 1 | public function getDoNotSend(): int |
|
68 | |||
69 | 1 | public function getUndeliverable(): int |
|
73 | |||
74 | 1 | public function getCatchAll(): int |
|
78 | |||
79 | 1 | public function getUnknown(): int |
|
83 | } |
||
84 |