ExpressCheckoutContainer   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 46
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 7
c 1
b 0
f 0
dl 0
loc 46
rs 10
wmc 4

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getWalletType() 0 3 1
A setRedirect() 0 3 1
A setWalletType() 0 3 1
A getRedirect() 0 3 1
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\Api\Request\Container\Authorization\PaymentMethod;
9
10
use SprykerEco\Zed\Payone\Business\Api\Request\Container\Authorization\RedirectContainer;
11
12
class ExpressCheckoutContainer extends AbstractPaymentMethodContainer
13
{
14
    /**
15
     * @var string
16
     */
17
    protected $wallettype;
18
19
    /**
20
     * @var \SprykerEco\Zed\Payone\Business\Api\Request\Container\Authorization\RedirectContainer
21
     */
22
    protected $redirect;
23
24
    /**
25
     * @param string $wallettype
26
     *
27
     * @return void
28
     */
29
    public function setWalletType($wallettype)
30
    {
31
        $this->wallettype = $wallettype;
32
    }
33
34
    /**
35
     * @return string
36
     */
37
    public function getWalletType()
38
    {
39
        return $this->wallettype;
40
    }
41
42
    /**
43
     * @param \SprykerEco\Zed\Payone\Business\Api\Request\Container\Authorization\RedirectContainer $redirect
44
     *
45
     * @return void
46
     */
47
    public function setRedirect(RedirectContainer $redirect)
48
    {
49
        $this->redirect = $redirect;
50
    }
51
52
    /**
53
     * @return \SprykerEco\Zed\Payone\Business\Api\Request\Container\Authorization\RedirectContainer
54
     */
55
    public function getRedirect()
56
    {
57
        return $this->redirect;
58
    }
59
}
60