Completed
Push — master ( a6ebbf...2dbcd1 )
by
unknown
15s queued 12s
created

__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 5
Ratio 100 %

Importance

Changes 0
Metric Value
dl 5
loc 5
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 1
1
<?php
2
/**
3
 *
4
 * NOTICE OF LICENSE
5
 *
6
 * This source file is subject to the GNU General Public License (GPL 3)
7
 * that is bundled with this package in the file LICENSE.txt
8
 *
9
 * DISCLAIMER
10
 *
11
 * Do not edit or add to this file if you wish to upgrade Payone_Core to newer
12
 * versions in the future. If you wish to customize Payone_Core for your
13
 * needs please refer to http://www.payone.de for more information.
14
 *
15
 * @category        Payone
16
 * @package         Payone_Api
17
 * @subpackage      Request
18
 * @copyright       Copyright (c) 2019 <[email protected]> - www.fatchip.de
19
 * @author          FATCHIP GmbH <[email protected]>
20
 * @license         <http://www.gnu.org/licenses/> GNU General Public License (GPL 3)
21
 * @link            http://www.fatchip.de
22
 */
23 View Code Duplication
class Payone_Api_Request_PaydirektExpressGetStatus
0 ignored issues
show
Duplication introduced by
This class seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
24
    extends Payone_Api_Request_Genericpayment
25
{
26
    /** @var string */
27
    protected $wallettype;
28
29
    /**
30
     * @param array $data
31
     */
32
    public function __construct(array $data = array())
33
    {
34
        $this->request = Payone_Api_Enum_RequestType::GENERICPAYMENT;
35
        parent::__construct($data);
36
    }
37
38
    /**
39
     * @param string $wallettype
40
     */
41
    public function setWallettype($wallettype)
42
    {
43
        $this->wallettype = $wallettype;
44
    }
45
46
    /**
47
     * @return string
48
     */
49
    public function getWallettype()
50
    {
51
        return $this->wallettype;
52
    }
53
}
54