createConsumerScoreResponseContainer()   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\Payone\Business\RiskManager\Factory;
9
10
use SprykerEco\Zed\Payone\Business\Api\Request\Container\AddressCheckContainer;
11
use SprykerEco\Zed\Payone\Business\Api\Request\Container\ConsumerScoreContainer;
12
use SprykerEco\Zed\Payone\Business\Api\Request\Container\ContainerInterface;
13
use SprykerEco\Zed\Payone\Business\Api\Response\Container\AbstractResponseContainer;
14
use SprykerEco\Zed\Payone\Business\Api\Response\Container\AddressCheckResponseContainer;
15
use SprykerEco\Zed\Payone\Business\Api\Response\Container\ConsumerScoreResponseContainer;
16
17
class RiskCheckFactory implements RiskCheckFactoryInterface
18
{
19
    /**
20
     * @return \SprykerEco\Zed\Payone\Business\Api\Request\Container\ContainerInterface
21
     */
22
    public function createAddressCheckContainer(): ContainerInterface
23
    {
24
        return new AddressCheckContainer();
25
    }
26
27
    /**
28
     * @return \SprykerEco\Zed\Payone\Business\Api\Request\Container\ContainerInterface
29
     */
30
    public function createConsumerScoreContainer(): ContainerInterface
31
    {
32
        return new ConsumerScoreContainer();
33
    }
34
35
    /**
36
     * @return \SprykerEco\Zed\Payone\Business\Api\Response\Container\AbstractResponseContainer
37
     */
38
    public function createAddressCheckResponseContainer(): AbstractResponseContainer
39
    {
40
        return new AddressCheckResponseContainer();
41
    }
42
43
    /**
44
     * @return \SprykerEco\Zed\Payone\Business\Api\Response\Container\AbstractResponseContainer
45
     */
46
    public function createConsumerScoreResponseContainer(): AbstractResponseContainer
47
    {
48
        return new ConsumerScoreResponseContainer();
49
    }
50
}
51