| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 13 | protected function paymentMethodConfigValidation(): array |
||
| 14 | { |
||
| 15 | return [ |
||
| 16 | 'merchantId' => [ |
||
| 17 | 'type' => 'string', |
||
| 18 | 'required' => true, |
||
| 19 | ], |
||
| 20 | 'merchantKey' => [ |
||
| 21 | 'type' => 'string', |
||
| 22 | 'required' => true, |
||
| 23 | ], |
||
| 24 | 'allowedMethods' => [ |
||
| 25 | 'type' => 'string', |
||
| 26 | 'required' => false, |
||
| 27 | 'default' => 'all', |
||
| 28 | 'allowedValues' => ['all', 'abapay', 'cards'], |
||
| 29 | ], |
||
| 33 |