Passed
Push — feature/eco-2295/eco-2344-crea... ( 1d10cd...958822 )
by Aleksey
02:29
created

getCreateTransactionApiEndpoint()   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\Zed\CrefoPayApi;
9
10
use Spryker\Zed\Kernel\AbstractBundleConfig;
11
use SprykerEco\Shared\CrefoPayApi\CrefoPayApiConstants;
12
13
class CrefoPayApiConfig extends AbstractBundleConfig
14
{
15
    /**
16
     * @return string
17
     */
18
    public function getCreateTransactionApiEndpoint(): string
19
    {
20
        return $this->get(CrefoPayApiConstants::CREATE_TRANSACTION_API_ENDPOINT);
21
    }
22
23
    /**
24
     * @return string
25
     */
26
    public function getReserveApiEndpoint(): string
27
    {
28
        return $this->get(CrefoPayApiConstants::RESERVE_API_ENDPOINT);
29
    }
30
31
    /**
32
     * @return string
33
     */
34
    public function getCaptureApiEndpoint(): string
35
    {
36
        return $this->get(CrefoPayApiConstants::CAPTURE_API_ENDPOINT);
37
    }
38
39
    /**
40
     * @return string
41
     */
42
    public function getCancelApiEndpoint(): string
43
    {
44
        return $this->get(CrefoPayApiConstants::CANCEL_API_ENDPOINT);
45
    }
46
47
    /**
48
     * @return string
49
     */
50
    public function getRefundApiEndpoint(): string
51
    {
52
        return $this->get(CrefoPayApiConstants::REFUND_API_ENDPOINT);
53
    }
54
55
    /**
56
     * @return string
57
     */
58
    public function getFinishApiEndpoint(): string
59
    {
60
        return $this->get(CrefoPayApiConstants::FINISH_API_ENDPOINT);
61
    }
62
}
63