Total Complexity | 5 |
Total Lines | 48 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class EasycreditConfig extends AbstractBundleConfig |
||
13 | { |
||
14 | public const PROVIDER_NAME = 'Easycredit'; |
||
15 | public const PAYMENT_METHOD = 'easycredit'; |
||
16 | public const PAYMENT_PAGE_INTEGRATION_TYPE = 'PAYMENT_PAGE'; |
||
17 | |||
18 | public const PAYMENT_METHOD_AVAILABLE_COUNTRIES = ['DE']; |
||
19 | public const PAYMENT_METHOD_MIN_AVAILABLE_MONEY_VALUE = 20000; |
||
20 | public const PAYMENT_METHOD_MAX_AVAILABLE_MONEY_VALUE = 1000000; |
||
21 | |||
22 | /** |
||
23 | * @return string |
||
24 | */ |
||
25 | public function getPaymentPageIntegrationType(): string |
||
26 | { |
||
27 | return static::PAYMENT_PAGE_INTEGRATION_TYPE; |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * @return array |
||
32 | */ |
||
33 | public function getPaymentMethodAvailableCountries(): array |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * @return int |
||
40 | */ |
||
41 | public function getPaymentMethodMinAvailableMoneyValue(): int |
||
42 | { |
||
43 | return static::PAYMENT_METHOD_MIN_AVAILABLE_MONEY_VALUE; |
||
44 | } |
||
45 | |||
46 | /** |
||
47 | * @return int |
||
48 | */ |
||
49 | public function getPaymentMethodMaxAvailableMoneyValue(): int |
||
50 | { |
||
51 | return static::PAYMENT_METHOD_MAX_AVAILABLE_MONEY_VALUE; |
||
52 | } |
||
53 | |||
54 | /** |
||
55 | * @return string |
||
56 | */ |
||
57 | public function getPaymentMethod(): string |
||
60 | } |
||
61 | } |
||
62 |