Completed
Push — feature/eco-1539-heidelpay-eas... ( d0263f...a6169c )
by Ruslan
05:09 queued 05:01
created

HeidelpayConfig::getEasyCreditLogoUrl()   A

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\Yves\Heidelpay;
9
10
use Spryker\Yves\Kernel\AbstractBundleConfig;
11
use SprykerEco\Shared\Heidelpay\HeidelpayConstants;
12
13
class HeidelpayConfig extends AbstractBundleConfig implements HeidelpayConfigInterface
14
{
15
    /**
16
     * @return string
17
     */
18
    public function getYvesCheckoutPaymentStepPath(): string
19
    {
20
        return $this->get(HeidelpayConstants::CONFIG_YVES_CHECKOUT_PAYMENT_STEP_PATH);
21
    }
22
23
    /**
24
     * @return string
25
     */
26
    public function getYvesCheckoutPaymentFailedUrl(): string
27
    {
28
        return $this->get(HeidelpayConstants::CONFIG_YVES_CHECKOUT_PAYMENT_FAILED_URL);
29
    }
30
31
    /**
32
     * @return string
33
     */
34
    public function getYvesCheckoutSummaryStepUrl(): string
35
    {
36
        return $this->get(HeidelpayConstants::CONFIG_YVES_CHECKOUT_SUMMARY_STEP_URL);
37
    }
38
39
    /**
40
     * @return string
41
     */
42
    public function getYvesInitializePaymentUrl(): string
43
    {
44
        return $this->get(HeidelpayConstants::CONFIG_YVES_CHECKOUT_EASYCREDIT_INITIALIZE_PAYMENT_URL);
45
    }
46
47
    /**
48
     * @return string
49
     */
50
    public function getYvesCheckoutSuccessUrl(): string
51
    {
52
        return $this->get(HeidelpayConstants::CONFIG_YVES_CHECKOUT_SUCCESS_URL);
53
    }
54
55
    /**
56
     * @return string
57
     */
58
    public function getYvesRegistrationSuccessUrl(): string
59
    {
60
        return $this->get(HeidelpayConstants::CONFIG_YVES_CHECKOUT_REGISTRATION_SUCCESS_URL);
61
    }
62
63
    /**
64
     * @return string
65
     */
66
    public function getEasyCreditLogoUrl(): string
67
    {
68
        return $this->get(HeidelpayConstants::CONFIG_EASY_CREDIT_LOGO_URL);
69
    }
70
71
    /**
72
     * @return string
73
     */
74
    public function getEasyCreditInfoLink(): string
75
    {
76
        return $this->get(HeidelpayConstants::CONFIG_EASY_CREDIT_INFO_LINK);
77
    }
78
}
79