1 | <?php |
||
9 | final class DeviceRequestUpdatedPassesEvent extends AbstractEvent |
||
10 | { |
||
11 | /** |
||
12 | * @var string |
||
13 | */ |
||
14 | private $deviceLibraryIdentifier; |
||
15 | |||
16 | /** |
||
17 | * @var string |
||
18 | */ |
||
19 | private $passTypeIdentifier; |
||
20 | |||
21 | /** |
||
22 | * @var DateTimeImmutable|null |
||
23 | */ |
||
24 | private $passesUpdatedSince; |
||
25 | |||
26 | /** |
||
27 | * @var DateTimeImmutable|null |
||
28 | */ |
||
29 | private $lastUpdated; |
||
30 | |||
31 | /** |
||
32 | * @var string[] |
||
33 | */ |
||
34 | private $serialNumbers; |
||
35 | |||
36 | 1 | public function __construct( |
|
46 | |||
47 | 1 | public function setSerialNumbers(array $serialNumbers, DateTimeImmutable $lastUpdated): void |
|
53 | |||
54 | 1 | public function getDeviceLibraryIdentifier(): string |
|
58 | |||
59 | 1 | public function getPassTypeIdentifier(): string |
|
63 | |||
64 | 1 | public function getPassesUpdatedSince(): ?DateTimeImmutable |
|
68 | |||
69 | 1 | public function getLastUpdated(): ?DateTimeImmutable |
|
73 | |||
74 | 1 | public function getSerialNumbers(): array |
|
78 | } |
||
79 |