1 | <?php |
||
20 | class ObtainBankAccountAction implements ActionInterface, GatewayAwareInterface |
||
21 | { |
||
22 | use GatewayAwareTrait; |
||
23 | |||
24 | /** |
||
25 | * @var BankAccountFormFactoryInterface |
||
26 | */ |
||
27 | protected $bankAccountFormFactory; |
||
28 | |||
29 | /** |
||
30 | * @var RequestStack |
||
31 | */ |
||
32 | protected $httpRequestStack; |
||
33 | |||
34 | /** |
||
35 | * @var string |
||
36 | */ |
||
37 | protected $templateName; |
||
38 | |||
39 | /** |
||
40 | * ObtainBankAccountAction constructor. |
||
41 | * |
||
42 | * @param BankAccountFormFactoryInterface $bankAccountFormFactory |
||
43 | * @param string $templateName |
||
44 | */ |
||
45 | public function __construct(BankAccountFormFactoryInterface $bankAccountFormFactory, string $templateName) |
||
50 | |||
51 | /** |
||
52 | * @param RequestStack|null $requestStack |
||
53 | */ |
||
54 | public function setRequestStack(?RequestStack $requestStack) |
||
58 | |||
59 | /** |
||
60 | * {@inheritdoc} |
||
61 | * |
||
62 | * @param ObtainBankAccount $request |
||
63 | * |
||
64 | * @throws \Payum\Core\Bridge\Symfony\Reply\HttpResponse |
||
65 | * @throws \Payum\Core\Exception\LogicException |
||
66 | */ |
||
67 | public function execute($request) |
||
109 | |||
110 | /** |
||
111 | * {@inheritdoc} |
||
112 | */ |
||
113 | public function supports($request) |
||
117 | } |
||
118 |