1 | <?php |
||
18 | class EWalletSubForm extends AbstractPayoneSubForm |
||
19 | { |
||
20 | const PAYMENT_METHOD = 'e_wallet'; |
||
21 | const FIELD_WALLET_TYPE = 'wallettype'; |
||
22 | |||
23 | const OPTION_WALLET_CHOICES = 'wallet_types'; |
||
24 | |||
25 | /** |
||
26 | * @return string |
||
27 | */ |
||
28 | public function getName() |
||
32 | |||
33 | /** |
||
34 | * @return string |
||
35 | */ |
||
36 | public function getPropertyPath() |
||
40 | |||
41 | /** |
||
42 | * @return string |
||
43 | */ |
||
44 | public function getTemplatePath() |
||
48 | |||
49 | /** |
||
50 | * @param \Symfony\Component\OptionsResolver\OptionsResolver $resolver |
||
51 | * |
||
52 | * @return void |
||
53 | */ |
||
54 | public function configureOptions(OptionsResolver $resolver) |
||
60 | |||
61 | /** |
||
62 | * @param \Symfony\Component\OptionsResolver\OptionsResolver $resolver |
||
63 | * |
||
64 | * @return void |
||
65 | */ |
||
66 | public function setDefaultOptions(OptionsResolver $resolver) |
||
70 | |||
71 | /** |
||
72 | * @param \Symfony\Component\Form\FormBuilderInterface $builder |
||
73 | * @param array $options |
||
74 | * |
||
75 | * @return void |
||
76 | */ |
||
77 | public function buildForm(FormBuilderInterface $builder, array $options) |
||
81 | |||
82 | /** |
||
83 | * @param \Symfony\Component\Form\FormBuilderInterface $builder |
||
84 | * @param array $choices |
||
85 | * |
||
86 | * @return $this |
||
87 | */ |
||
88 | protected function addWalletType(FormBuilderInterface $builder, array $choices) |
||
102 | } |
||
103 |