1 | <?php |
||
17 | final class TotalResponseItem |
||
18 | { |
||
19 | private $time; |
||
20 | private $accepted; |
||
21 | private $delivered; |
||
22 | private $failed; |
||
23 | private $complained; |
||
24 | private $opened; |
||
25 | private $clicked; |
||
26 | private $unsubscribed; |
||
27 | private $stored; |
||
28 | |||
29 | 8 | public static function create(array $data): self |
|
44 | |||
45 | 8 | private function __construct() |
|
48 | |||
49 | 1 | public function getTime(): ?\DateTimeImmutable |
|
53 | |||
54 | 1 | public function getAccepted(): array |
|
58 | |||
59 | 1 | public function getDelivered(): array |
|
63 | |||
64 | 1 | public function getFailed(): array |
|
68 | |||
69 | 1 | public function getComplained(): array |
|
73 | |||
74 | 1 | public function getOpened(): array |
|
78 | |||
79 | 1 | public function getClicked(): array |
|
83 | |||
84 | 1 | public function getUnsubscribed(): array |
|
88 | |||
89 | 1 | public function getStored(): array |
|
93 | } |
||
94 |