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.
Completed
Push — master ( 5d8585...19996e )
by Alexander
85:54 queued 60:54
created

PaymentInstance::setLastName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

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