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 | public function __construct(string $passTypeIdentifier, string $serialNumber, string $authenticationToken, ?DateTimeImmutable $updatedSince = null) |
||
50 | |||
51 | public function setPassbook(Passbook $passbook, DateTimeImmutable $lastModified): void |
||
58 | |||
59 | public function getPassTypeIdentifier(): string |
||
63 | |||
64 | public function getSerialNumber(): string |
||
68 | |||
69 | public function getAuthenticationToken(): string |
||
73 | |||
74 | public function getUpdatedSince(): ?DateTimeImmutable |
||
78 | |||
79 | public function getPassbook(): ?Passbook |
||
83 | |||
84 | public function getLastModified(): ?DateTimeImmutable |
||
88 | } |
||
89 |