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.

PaymentInstance::setAccountNumber()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 6
ccs 0
cts 5
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
crap 2
1
<?php
2
/**
3
 * Neta\Shopware\SDK\Entity.
4
 *
5
 * Copyright 2016 LeadCommerce
6
 *
7
 * @author    Alexander Mahrt <[email protected]>
8
 * @copyright 2016 LeadCommerce <[email protected]>
9
 */
10
11
namespace Neta\Shopware\SDK\Entity;
12
13
/**
14
 * Class PaymentInstance.
15
 */
16
class PaymentInstance extends Base
17
{
18
    /**
19
     * @var int
20
     */
21
    protected $id;
22
    /**
23
     * @var string
24
     */
25
    protected $firstName;
26
    /**
27
     * @var string
28
     */
29
    protected $lastName;
30
    /**
31
     * @var string
32
     */
33
    protected $address;
34
    /**
35
     * @var string
36
     */
37
    protected $zipCode;
38
    /**
39
     * @var string
40
     */
41
    protected $city;
42
    /**
43
     * @var string
44
     */
45
    protected $bankName;
46
    /**
47
     * @var string
48
     */
49
    protected $bankCode;
50
    /**
51
     * @var string
52
     */
53
    protected $accountNumber;
54
    /**
55
     * @var string
56
     */
57
    protected $accountHolder;
58
    /**
59
     * @var string
60
     */
61
    protected $bic;
62
    /**
63
     * @var string
64
     */
65
    protected $iban;
66
    /**
67
     * @var string
68
     */
69
    protected $amount;
70
    /**
71
     * @var string
72
     */
73
    protected $createdAt;
74
75
    /**
76
     * @return int
77
     */
78
    public function getId()
79
    {
80
        return $this->id;
81
    }
82
83
    /**
84
     * @param int $id
85
     *
86
     * @return PaymentInstance
87
     */
88
    public function setId($id)
89
    {
90
        $this->id = $id;
91
92
        return $this;
93
    }
94
95
    /**
96
     * @return string
97
     */
98
    public function getFirstName()
99
    {
100
        return $this->firstName;
101
    }
102
103
    /**
104
     * @param string $firstName
105
     *
106
     * @return PaymentInstance
107
     */
108
    public function setFirstName($firstName)
109
    {
110
        $this->firstName = $firstName;
111
112
        return $this;
113
    }
114
115
    /**
116
     * @return string
117
     */
118
    public function getLastName()
119
    {
120
        return $this->lastName;
121
    }
122
123
    /**
124
     * @param string $lastName
125
     *
126
     * @return PaymentInstance
127
     */
128
    public function setLastName($lastName)
129
    {
130
        $this->lastName = $lastName;
131
132
        return $this;
133
    }
134
135
    /**
136
     * @return string
137
     */
138
    public function getAddress()
139
    {
140
        return $this->address;
141
    }
142
143
    /**
144
     * @param string $address
145
     *
146
     * @return PaymentInstance
147
     */
148
    public function setAddress($address)
149
    {
150
        $this->address = $address;
151
152
        return $this;
153
    }
154
155
    /**
156
     * @return string
157
     */
158
    public function getZipCode()
159
    {
160
        return $this->zipCode;
161
    }
162
163
    /**
164
     * @param string $zipCode
165
     *
166
     * @return PaymentInstance
167
     */
168
    public function setZipCode($zipCode)
169
    {
170
        $this->zipCode = $zipCode;
171
172
        return $this;
173
    }
174
175
    /**
176
     * @return string
177
     */
178
    public function getCity()
179
    {
180
        return $this->city;
181
    }
182
183
    /**
184
     * @param string $city
185
     *
186
     * @return PaymentInstance
187
     */
188
    public function setCity($city)
189
    {
190
        $this->city = $city;
191
192
        return $this;
193
    }
194
195
    /**
196
     * @return string
197
     */
198
    public function getBankName()
199
    {
200
        return $this->bankName;
201
    }
202
203
    /**
204
     * @param string $bankName
205
     *
206
     * @return PaymentInstance
207
     */
208
    public function setBankName($bankName)
209
    {
210
        $this->bankName = $bankName;
211
212
        return $this;
213
    }
214
215
    /**
216
     * @return string
217
     */
218
    public function getBankCode()
219
    {
220
        return $this->bankCode;
221
    }
222
223
    /**
224
     * @param string $bankCode
225
     *
226
     * @return PaymentInstance
227
     */
228
    public function setBankCode($bankCode)
229
    {
230
        $this->bankCode = $bankCode;
231
232
        return $this;
233
    }
234
235
    /**
236
     * @return string
237
     */
238
    public function getAccountNumber()
239
    {
240
        return $this->accountNumber;
241
    }
242
243
    /**
244
     * @param string $accountNumber
245
     *
246
     * @return PaymentInstance
247
     */
248
    public function setAccountNumber($accountNumber)
249
    {
250
        $this->accountNumber = $accountNumber;
251
252
        return $this;
253
    }
254
255
    /**
256
     * @return string
257
     */
258
    public function getAccountHolder()
259
    {
260
        return $this->accountHolder;
261
    }
262
263
    /**
264
     * @param string $accountHolder
265
     *
266
     * @return PaymentInstance
267
     */
268
    public function setAccountHolder($accountHolder)
269
    {
270
        $this->accountHolder = $accountHolder;
271
272
        return $this;
273
    }
274
275
    /**
276
     * @return string
277
     */
278
    public function getBic()
279
    {
280
        return $this->bic;
281
    }
282
283
    /**
284
     * @param string $bic
285
     *
286
     * @return PaymentInstance
287
     */
288
    public function setBic($bic)
289
    {
290
        $this->bic = $bic;
291
292
        return $this;
293
    }
294
295
    /**
296
     * @return string
297
     */
298
    public function getIban()
299
    {
300
        return $this->iban;
301
    }
302
303
    /**
304
     * @param string $iban
305
     *
306
     * @return PaymentInstance
307
     */
308
    public function setIban($iban)
309
    {
310
        $this->iban = $iban;
311
312
        return $this;
313
    }
314
315
    /**
316
     * @return string
317
     */
318
    public function getAmount()
319
    {
320
        return $this->amount;
321
    }
322
323
    /**
324
     * @param string $amount
325
     *
326
     * @return PaymentInstance
327
     */
328
    public function setAmount($amount)
329
    {
330
        $this->amount = $amount;
331
332
        return $this;
333
    }
334
335
    /**
336
     * @return string
337
     */
338
    public function getCreatedAt()
339
    {
340
        return $this->createdAt;
341
    }
342
343
    /**
344
     * @param string $createdAt
345
     *
346
     * @return PaymentInstance
347
     */
348
    public function setCreatedAt($createdAt)
349
    {
350
        $this->createdAt = $createdAt;
351
352
        return $this;
353
    }
354
}
355