1 | <?php |
||
21 | final class ProcessPaymentSuccessEvent |
||
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 array |
||
45 | */ |
||
46 | private $getVariables; |
||
47 | |||
48 | /** |
||
49 | * @var PaymentController |
||
50 | */ |
||
51 | private $paymentController; |
||
52 | |||
53 | public function __construct( |
||
68 | |||
69 | /** |
||
70 | * @return array |
||
71 | */ |
||
72 | public function getVariables(): array |
||
76 | |||
77 | /** |
||
78 | * @return string |
||
79 | */ |
||
80 | public function getPaymentMethod(): string |
||
84 | |||
85 | /** |
||
86 | * @return bool |
||
87 | */ |
||
88 | public function getUpdateRegistration(): bool |
||
92 | |||
93 | /** |
||
94 | * @return Registration |
||
95 | */ |
||
96 | public function getRegistration(): Registration |
||
100 | |||
101 | /** |
||
102 | * @return array |
||
103 | */ |
||
104 | public function getGetVariables(): array |
||
108 | |||
109 | /** |
||
110 | * @return PaymentController |
||
111 | */ |
||
112 | public function getPaymentController(): PaymentController |
||
116 | |||
117 | /** |
||
118 | * @param array $variables |
||
119 | */ |
||
120 | public function setVariables(array $variables): void |
||
124 | |||
125 | /** |
||
126 | * @param bool $updateRegistration |
||
127 | */ |
||
128 | public function setUpdateRegistration(bool $updateRegistration): void |
||
132 | } |
||
133 |