Passed
Push — feature/eco-3656/eco-3658-enab... ( 8eb6f7...b8ae93 )
by
unknown
05:52
created

ComputopConfig::getPayPalExpressClientId()   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
c 0
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
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\Client\Computop;
9
10
use Spryker\Client\Kernel\AbstractBundleConfig;
11
use SprykerEco\Shared\Computop\ComputopConstants;
12
13
class ComputopConfig extends AbstractBundleConfig
14
{
15
    /**
16
     * @api
17
     *
18
     * @return bool
19
     */
20
    public function isCrifEnabled(): bool
21
    {
22
        return (bool)$this->get(ComputopConstants::CRIF_ENABLED);
23
    }
24
25
    /**
26
     * @api
27
     *
28
     * @return string
29
     */
30
    public function getPayPalExpressClientId(): string
31
    {
32
        return $this->get(ComputopConstants::PAY_PAL_CLIENT_ID);
33
    }
34
}
35