getPaymentMethodMaxAvailableMoneyValue()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * MIT License
5
 * For full license information, please view the LICENSE file that was distributed with this source code.
6
 */
7
8
namespace SprykerEco\Shared\Easycredit;
9
10
use Spryker\Shared\Kernel\AbstractBundleConfig;
11
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
34
    {
35
        return static::PAYMENT_METHOD_AVAILABLE_COUNTRIES;
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
58
    {
59
        return static::PAYMENT_METHOD;
60
    }
61
}
62