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.

OrderDetail   A
last analyzed

Complexity

Total Complexity 32

Size/Duplication

Total Lines 407
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 32
lcom 0
cbo 1
dl 0
loc 407
ccs 0
cts 144
cp 0
rs 9.84
c 0
b 0
f 0

32 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A setId() 0 6 1
A getOrderId() 0 4 1
A setOrderId() 0 6 1
A getArticleId() 0 4 1
A setArticleId() 0 6 1
A getTaxId() 0 4 1
A setTaxId() 0 6 1
A getTaxRate() 0 4 1
A setTaxRate() 0 6 1
A getStatusId() 0 4 1
A setStatusId() 0 6 1
A getNumber() 0 4 1
A setNumber() 0 6 1
A getArticleNumber() 0 4 1
A setArticleNumber() 0 6 1
A getPrice() 0 4 1
A setPrice() 0 6 1
A getQuantity() 0 4 1
A setQuantity() 0 6 1
A getArticleName() 0 4 1
A setArticleName() 0 6 1
A isShipped() 0 4 1
A setShipped() 0 6 1
A getShippedGroup() 0 4 1
A setShippedGroup() 0 6 1
A getReleaseDate() 0 4 1
A setReleaseDate() 0 6 1
A getMode() 0 4 1
A setMode() 0 6 1
A getEsdArticle() 0 4 1
A setEsdArticle() 0 6 1
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 OrderDetail.
15
 */
16
class OrderDetail extends Base
17
{
18
    /**
19
     * @var int
20
     */
21
    protected $id;
22
    /**
23
     * @var string
24
     */
25
    protected $orderId;
26
    /**
27
     * @var int
28
     */
29
    protected $articleId;
30
    /**
31
     * @var int
32
     */
33
    protected $taxId;
34
    /**
35
     * @var float
36
     */
37
    protected $taxRate;
38
    /**
39
     * @var int
40
     */
41
    protected $statusId;
42
    /**
43
     * @var string
44
     */
45
    protected $number;
46
    /**
47
     * @var string
48
     */
49
    protected $articleNumber;
50
    /**
51
     * @var float
52
     */
53
    protected $price;
54
    /**
55
     * @var int
56
     */
57
    protected $quantity;
58
    /**
59
     * @var string
60
     */
61
    protected $articleName;
62
    /**
63
     * @var bool
64
     */
65
    protected $shipped;
66
    /**
67
     * @var int
68
     */
69
    protected $shippedGroup;
70
    /**
71
     * @var string
72
     */
73
    protected $releaseDate;
74
    /**
75
     * @var int
76
     */
77
    protected $mode;
78
    /**
79
     * @var int
80
     */
81
    protected $esdArticle;
82
    /**
83
     * @var string
84
     */
85
    protected $config;
86
    /**
87
     * @var string
88
     */
89
    protected $ean;
90
    /**
91
     * @var string
92
     */
93
    protected $unit;
94
    /**
95
     * @var string
96
     */
97
    protected $packUnit;
98
    /**
99
     * @var OrderDetailAttribute
100
     */
101
    protected $attribute;
102
103
    /**
104
     * @return int
105
     */
106
    public function getId()
107
    {
108
        return $this->id;
109
    }
110
111
    /**
112
     * @param int $id
113
     *
114
     * @return OrderDetail
115
     */
116
    public function setId($id)
117
    {
118
        $this->id = $id;
119
120
        return $this;
121
    }
122
123
    /**
124
     * @return string
125
     */
126
    public function getOrderId()
127
    {
128
        return $this->orderId;
129
    }
130
131
    /**
132
     * @param string $orderId
133
     *
134
     * @return OrderDetail
135
     */
136
    public function setOrderId($orderId)
137
    {
138
        $this->orderId = $orderId;
139
140
        return $this;
141
    }
142
143
    /**
144
     * @return int
145
     */
146
    public function getArticleId()
147
    {
148
        return $this->articleId;
149
    }
150
151
    /**
152
     * @param int $articleId
153
     *
154
     * @return OrderDetail
155
     */
156
    public function setArticleId($articleId)
157
    {
158
        $this->articleId = $articleId;
159
160
        return $this;
161
    }
162
163
    /**
164
     * @return int
165
     */
166
    public function getTaxId()
167
    {
168
        return $this->taxId;
169
    }
170
171
    /**
172
     * @param int $taxId
173
     *
174
     * @return OrderDetail
175
     */
176
    public function setTaxId($taxId)
177
    {
178
        $this->taxId = $taxId;
179
180
        return $this;
181
    }
182
183
    /**
184
     * @return float
185
     */
186
    public function getTaxRate()
187
    {
188
        return $this->taxRate;
189
    }
190
191
    /**
192
     * @param float $taxRate
193
     *
194
     * @return OrderDetail
195
     */
196
    public function setTaxRate($taxRate)
197
    {
198
        $this->taxRate = $taxRate;
199
200
        return $this;
201
    }
202
203
    /**
204
     * @return int
205
     */
206
    public function getStatusId()
207
    {
208
        return $this->statusId;
209
    }
210
211
    /**
212
     * @param int $statusId
213
     *
214
     * @return OrderDetail
215
     */
216
    public function setStatusId($statusId)
217
    {
218
        $this->statusId = $statusId;
219
220
        return $this;
221
    }
222
223
    /**
224
     * @return string
225
     */
226
    public function getNumber()
227
    {
228
        return $this->number;
229
    }
230
231
    /**
232
     * @param string $number
233
     *
234
     * @return OrderDetail
235
     */
236
    public function setNumber($number)
237
    {
238
        $this->number = $number;
239
240
        return $this;
241
    }
242
243
    /**
244
     * @return string
245
     */
246
    public function getArticleNumber()
247
    {
248
        return $this->articleNumber;
249
    }
250
251
    /**
252
     * @param string $articleNumber
253
     *
254
     * @return OrderDetail
255
     */
256
    public function setArticleNumber($articleNumber)
257
    {
258
        $this->articleNumber = $articleNumber;
259
260
        return $this;
261
    }
262
263
    /**
264
     * @return float
265
     */
266
    public function getPrice()
267
    {
268
        return $this->price;
269
    }
270
271
    /**
272
     * @param float $price
273
     *
274
     * @return OrderDetail
275
     */
276
    public function setPrice($price)
277
    {
278
        $this->price = $price;
279
280
        return $this;
281
    }
282
283
    /**
284
     * @return int
285
     */
286
    public function getQuantity()
287
    {
288
        return $this->quantity;
289
    }
290
291
    /**
292
     * @param int $quantity
293
     *
294
     * @return OrderDetail
295
     */
296
    public function setQuantity($quantity)
297
    {
298
        $this->quantity = $quantity;
299
300
        return $this;
301
    }
302
303
    /**
304
     * @return string
305
     */
306
    public function getArticleName()
307
    {
308
        return $this->articleName;
309
    }
310
311
    /**
312
     * @param string $articleName
313
     *
314
     * @return OrderDetail
315
     */
316
    public function setArticleName($articleName)
317
    {
318
        $this->articleName = $articleName;
319
320
        return $this;
321
    }
322
323
    /**
324
     * @return bool
325
     */
326
    public function isShipped()
327
    {
328
        return $this->shipped;
329
    }
330
331
    /**
332
     * @param bool $shipped
333
     *
334
     * @return OrderDetail
335
     */
336
    public function setShipped($shipped)
337
    {
338
        $this->shipped = $shipped;
339
340
        return $this;
341
    }
342
343
    /**
344
     * @return int
345
     */
346
    public function getShippedGroup()
347
    {
348
        return $this->shippedGroup;
349
    }
350
351
    /**
352
     * @param int $shippedGroup
353
     *
354
     * @return OrderDetail
355
     */
356
    public function setShippedGroup($shippedGroup)
357
    {
358
        $this->shippedGroup = $shippedGroup;
359
360
        return $this;
361
    }
362
363
    /**
364
     * @return string
365
     */
366
    public function getReleaseDate()
367
    {
368
        return $this->releaseDate;
369
    }
370
371
    /**
372
     * @param string $releaseDate
373
     *
374
     * @return OrderDetail
375
     */
376
    public function setReleaseDate($releaseDate)
377
    {
378
        $this->releaseDate = $releaseDate;
379
380
        return $this;
381
    }
382
383
    /**
384
     * @return int
385
     */
386
    public function getMode()
387
    {
388
        return $this->mode;
389
    }
390
391
    /**
392
     * @param int $mode
393
     *
394
     * @return OrderDetail
395
     */
396
    public function setMode($mode)
397
    {
398
        $this->mode = $mode;
399
400
        return $this;
401
    }
402
403
    /**
404
     * @return int
405
     */
406
    public function getEsdArticle()
407
    {
408
        return $this->esdArticle;
409
    }
410
411
    /**
412
     * @param int $esdArticle
413
     *
414
     * @return OrderDetail
415
     */
416
    public function setEsdArticle($esdArticle)
417
    {
418
        $this->esdArticle = $esdArticle;
419
420
        return $this;
421
    }
422
}
423