GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Pull Request — master (#7)
by Alexander
49:36 queued 24:33
created

Debit::getBankCode()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
/**
3
 * LeadCommerce\Shopware\SDK\Entity
4
 *
5
 * Copyright 2016 LeadCommerce
6
 *
7
 * @author Alexander Mahrt <[email protected]>
8
 * @copyright 2016 LeadCommerce <[email protected]>
9
 */
10
namespace LeadCommerce\Shopware\SDK\Entity;
11
12
/**
13
 * Class Debit
14
 */
15
class Debit extends Base
16
{
17
    /**
18
     * @var int
19
     */
20
    protected $id;
21
    /**
22
     * @var int
23
     */
24
    protected $customerId;
25
    /**
26
     * @var string
27
     */
28
    protected $account;
29
    /**
30
     * @var string
31
     */
32
    protected $bankCode;
33
    /**
34
     * @var string
35
     */
36
    protected $bankName;
37
    /**
38
     * @var string
39
     */
40
    protected $accountHolder;
41
42
    /**
43
     * @return int
44
     */
45
    public function getId()
46
    {
47
        return $this->id;
48
    }
49
50
    /**
51
     * @param int $id
52
     *
53
     * @return Debit
54
     */
55
    public function setId($id)
56
    {
57
        $this->id = $id;
58
59
        return $this;
60
    }
61
62
    /**
63
     * @return int
64
     */
65
    public function getCustomerId()
66
    {
67
        return $this->customerId;
68
    }
69
70
    /**
71
     * @param int $customerId
72
     *
73
     * @return Debit
74
     */
75
    public function setCustomerId($customerId)
76
    {
77
        $this->customerId = $customerId;
78
79
        return $this;
80
    }
81
82
    /**
83
     * @return string
84
     */
85
    public function getAccount()
86
    {
87
        return $this->account;
88
    }
89
90
    /**
91
     * @param string $account
92
     *
93
     * @return Debit
94
     */
95
    public function setAccount($account)
96
    {
97
        $this->account = $account;
98
99
        return $this;
100
    }
101
102
    /**
103
     * @return string
104
     */
105
    public function getBankCode()
106
    {
107
        return $this->bankCode;
108
    }
109
110
    /**
111
     * @param string $bankCode
112
     *
113
     * @return Debit
114
     */
115
    public function setBankCode($bankCode)
116
    {
117
        $this->bankCode = $bankCode;
118
119
        return $this;
120
    }
121
122
    /**
123
     * @return string
124
     */
125
    public function getBankName()
126
    {
127
        return $this->bankName;
128
    }
129
130
    /**
131
     * @param string $bankName
132
     *
133
     * @return Debit
134
     */
135
    public function setBankName($bankName)
136
    {
137
        $this->bankName = $bankName;
138
139
        return $this;
140
    }
141
142
    /**
143
     * @return string
144
     */
145
    public function getAccountHolder()
146
    {
147
        return $this->accountHolder;
148
    }
149
150
    /**
151
     * @param string $accountHolder
152
     *
153
     * @return Debit
154
     */
155
    public function setAccountHolder($accountHolder)
156
    {
157
        $this->accountHolder = $accountHolder;
158
159
        return $this;
160
    }
161
}
162