1 | <?php |
||
21 | final class ProcessPaymentCancelEvent |
||
22 | { |
||
23 | /** |
||
24 | * @var array |
||
25 | */ |
||
26 | private $variables; |
||
27 | |||
28 | /** |
||
29 | * @var string |
||
30 | */ |
||
31 | private $paymentMethod; |
||
32 | |||
33 | /** |
||
34 | * @var bool |
||
35 | */ |
||
36 | private $updateRegistration; |
||
37 | |||
38 | /** |
||
39 | * @var bool |
||
40 | */ |
||
41 | private $removeRegistration; |
||
42 | |||
43 | /** |
||
44 | * @var Registration |
||
45 | */ |
||
46 | private $registration; |
||
47 | |||
48 | /** |
||
49 | * @var array |
||
50 | */ |
||
51 | private $getVariables; |
||
52 | |||
53 | /** |
||
54 | * @var PaymentController |
||
55 | */ |
||
56 | private $paymentController; |
||
57 | |||
58 | public function __construct( |
||
75 | |||
76 | /** |
||
77 | * @return array |
||
78 | */ |
||
79 | public function getVariables(): array |
||
83 | |||
84 | /** |
||
85 | * @return string |
||
86 | */ |
||
87 | public function getPaymentMethod(): string |
||
91 | |||
92 | /** |
||
93 | * @return bool |
||
94 | */ |
||
95 | public function getUpdateRegistration(): bool |
||
99 | |||
100 | /** |
||
101 | * @return bool |
||
102 | */ |
||
103 | public function getRemoveRegistration(): bool |
||
107 | |||
108 | /** |
||
109 | * @return Registration |
||
110 | */ |
||
111 | public function getRegistration(): Registration |
||
115 | |||
116 | /** |
||
117 | * @return array |
||
118 | */ |
||
119 | public function getGetVariables(): array |
||
123 | |||
124 | /** |
||
125 | * @return PaymentController |
||
126 | */ |
||
127 | public function getPaymentController(): PaymentController |
||
131 | |||
132 | /** |
||
133 | * @param array $variables |
||
134 | */ |
||
135 | public function setVariables(array $variables): void |
||
139 | |||
140 | /** |
||
141 | * @param bool $updateRegistration |
||
142 | */ |
||
143 | public function setUpdateRegistration(bool $updateRegistration): void |
||
147 | |||
148 | /** |
||
149 | * @param bool $removeRegistration |
||
150 | */ |
||
151 | public function setRemoveRegistration(bool $removeRegistration): void |
||
155 | } |
||
156 |