RatepayConfig::getTranslationFilePath()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
/**
4
 * MIT License
5
 * Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
6
 */
7
8
namespace SprykerEco\Zed\Ratepay;
9
10
use Spryker\Zed\Kernel\AbstractBundleConfig;
11
use SprykerEco\Shared\Ratepay\RatepayConfig as SharedRatepayConfig;
12
use SprykerEco\Shared\Ratepay\RatepayConstants;
13
14
class RatepayConfig extends AbstractBundleConfig
15
{
16
    /**
17
     * @return string
18
     */
19
    public function getTransactionGatewayUrl()
20
    {
21
        return $this->get(RatepayConstants::RATEPAY_API_URL);
22
    }
23
24
    /**
25
     * @return string
26
     */
27
    public function getProfileId()
28
    {
29
        return $this->get(RatepayConstants::PROFILE_ID);
30
    }
31
32
    /**
33
     * @return string
34
     */
35
    public function getSecurityCode()
36
    {
37
        return $this->get(RatepayConstants::SECURITY_CODE);
38
    }
39
40
    /**
41
     * @return string
42
     */
43
    public function getSystemId()
44
    {
45
        return $this->get(RatepayConstants::SYSTEM_ID);
46
    }
47
48
    /**
49
     * @return string
50
     */
51
    public function getSnippedId()
52
    {
53
        return $this->get(RatepayConstants::SNIPPET_ID);
54
    }
55
56
    /**
57
     * @return string
58
     */
59
    public function getShopId()
60
    {
61
        return $this->get(RatepayConstants::SHOP_ID);
62
    }
63
64
    /**
65
     * @return string
66
     */
67
    public function getTranslationFilePath()
68
    {
69
        return __DIR__ . DIRECTORY_SEPARATOR . SharedRatepayConfig::GLOSSARY_FILE_PATH;
70
    }
71
}
72