1 | <?php |
||
22 | trait CardTrait { |
||
23 | |||
24 | /** |
||
25 | * Blocked. |
||
26 | * |
||
27 | * @var bool|null |
||
28 | */ |
||
29 | private $blocked; |
||
30 | |||
31 | /** |
||
32 | * Blocked as of date. |
||
33 | * |
||
34 | * @var DateTime|null |
||
35 | */ |
||
36 | private $blockedDate; |
||
37 | |||
38 | /** |
||
39 | * Get the blocked. |
||
40 | * |
||
41 | * @return bool|null Returns the blocked. |
||
42 | */ |
||
43 | public function getBlocked(): ?bool { |
||
46 | |||
47 | /** |
||
48 | * Get the blocked as of date. |
||
49 | * |
||
50 | * @return DateTime|null Returns the blocked as of date. |
||
51 | */ |
||
52 | public function getBlockedDate(): ?DateTime { |
||
55 | |||
56 | /** |
||
57 | * Set the blocked. |
||
58 | * |
||
59 | * @param bool|null $blocked The blocked. |
||
60 | * @return self Returns this instance. |
||
61 | */ |
||
62 | public function setBlocked(?bool $blocked): self { |
||
66 | |||
67 | /** |
||
68 | * Set the blocked as of date. |
||
69 | * |
||
70 | * @param DateTime|null $blockedDate The blocked as of date. |
||
71 | * @return self Returns this instance. |
||
72 | */ |
||
73 | public function setBlockedDate(?DateTime $blockedDate): self { |
||
77 | } |
||
78 |