1 | <?php |
||
21 | final class ProcessPaymentInitializeEvent |
||
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 Registration |
||
40 | */ |
||
41 | private $registration; |
||
42 | |||
43 | /** |
||
44 | * @var PaymentController |
||
45 | */ |
||
46 | private $paymentController; |
||
47 | |||
48 | public function __construct( |
||
61 | |||
62 | /** |
||
63 | * @return array |
||
64 | */ |
||
65 | public function getVariables(): array |
||
69 | |||
70 | /** |
||
71 | * @return string |
||
72 | */ |
||
73 | public function getPaymentMethod(): string |
||
77 | |||
78 | /** |
||
79 | * @return bool |
||
80 | */ |
||
81 | public function getUpdateRegistration(): bool |
||
85 | |||
86 | /** |
||
87 | * @return Registration |
||
88 | */ |
||
89 | public function getRegistration(): Registration |
||
93 | |||
94 | /** |
||
95 | * @return PaymentController |
||
96 | */ |
||
97 | public function getPaymentController(): PaymentController |
||
101 | |||
102 | /** |
||
103 | * @param array $variables |
||
104 | */ |
||
105 | public function setVariables(array $variables): void |
||
109 | |||
110 | /** |
||
111 | * @param bool $updateRegistration |
||
112 | */ |
||
113 | public function setUpdateRegistration(bool $updateRegistration): void |
||
117 | } |
||
118 |