Completed
Push — master ( cddd98...c8ab6f )
by Oleksandr
14s queued 10s
created

BraintreeConfig::getMerchantId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 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\Service\Braintree;
9
10
use Spryker\Service\Kernel\AbstractBundleConfig;
11
use SprykerEco\Shared\Braintree\BraintreeConstants;
12
13
class BraintreeConfig extends AbstractBundleConfig
14
{
15
    /**
16
     * @return string
17
     */
18
    public function getEnvironment(): string
19
    {
20
        return $this->get(BraintreeConstants::ENVIRONMENT);
21
    }
22
23
    /**
24
     * @return string
25
     */
26
    public function getPublicKey(): string
27
    {
28
        return $this->get(BraintreeConstants::PUBLIC_KEY);
29
    }
30
31
    /**
32
     * @return string
33
     */
34
    public function getPrivateKey(): string
35
    {
36
        return $this->get(BraintreeConstants::PRIVATE_KEY);
37
    }
38
39
    /**
40
     * @return string
41
     */
42
    public function getMerchantId(): string
43
    {
44
        return $this->get(BraintreeConstants::MERCHANT_ID);
45
    }
46
}
47