1 | <?php |
||
10 | final class RetrieveUpdatedPassbookEvent extends AbstractEvent |
||
11 | { |
||
12 | /** |
||
13 | * @var string |
||
14 | */ |
||
15 | private $passTypeIdentifier; |
||
16 | |||
17 | /** |
||
18 | * @var string |
||
19 | */ |
||
20 | private $serialNumber; |
||
21 | |||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | private $authenticationToken; |
||
26 | |||
27 | /** |
||
28 | * @var DateTimeImmutable|null |
||
29 | */ |
||
30 | private $updatedSince; |
||
31 | |||
32 | /** |
||
33 | * @var Passbook|null |
||
34 | */ |
||
35 | private $passbook; |
||
36 | |||
37 | /** |
||
38 | * @var DateTimeImmutable|null |
||
39 | */ |
||
40 | private $lastModified; |
||
41 | |||
42 | 1 | public function __construct(string $passTypeIdentifier, string $serialNumber, string $authenticationToken, ?DateTimeImmutable $updatedSince = null) |
|
50 | |||
51 | 1 | public function setPassbook(Passbook $passbook, DateTimeImmutable $lastModified): void |
|
57 | |||
58 | 1 | public function getPassTypeIdentifier(): string |
|
62 | |||
63 | 1 | public function getSerialNumber(): string |
|
67 | |||
68 | 1 | public function getAuthenticationToken(): string |
|
72 | |||
73 | 1 | public function getUpdatedSince(): ?DateTimeImmutable |
|
77 | |||
78 | 1 | public function getPassbook(): ?Passbook |
|
82 | |||
83 | 1 | public function getLastModified(): ?DateTimeImmutable |
|
87 | } |
||
88 |