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.

Shipping   A
last analyzed

Complexity

Total Complexity 30

Size/Duplication

Total Lines 363
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 30
lcom 0
cbo 1
dl 0
loc 363
ccs 0
cts 135
cp 0
rs 10
c 0
b 0
f 0

30 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A setId() 0 6 1
A getCustomerId() 0 4 1
A setCustomerId() 0 6 1
A getCountryId() 0 4 1
A setCountryId() 0 6 1
A getStateId() 0 4 1
A setStateId() 0 6 1
A getCompany() 0 4 1
A setCompany() 0 6 1
A getDepartment() 0 4 1
A setDepartment() 0 6 1
A getSalutation() 0 4 1
A setSalutation() 0 6 1
A getNumber() 0 4 1
A setNumber() 0 6 1
A getFirstName() 0 4 1
A setFirstName() 0 6 1
A getLastName() 0 4 1
A setLastName() 0 6 1
A getStreet() 0 4 1
A setStreet() 0 6 1
A getStreetNumber() 0 4 1
A setStreetNumber() 0 6 1
A getZipCode() 0 4 1
A setZipCode() 0 6 1
A getCity() 0 4 1
A setCity() 0 6 1
A getAttribute() 0 4 1
A setAttribute() 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 Shipping.
15
 */
16
class Shipping extends Base
17
{
18
    /**
19
     * @var int
20
     */
21
    protected $id;
22
    /**
23
     * @var int
24
     */
25
    protected $customerId;
26
    /**
27
     * @var int
28
     */
29
    protected $countryId;
30
    /**
31
     * @var int
32
     */
33
    protected $stateId;
34
    /**
35
     * @var string
36
     */
37
    protected $company;
38
    /**
39
     * @var string
40
     */
41
    protected $department;
42
    /**
43
     * @var string
44
     */
45
    protected $salutation;
46
    /**
47
     * @var string
48
     */
49
    protected $number;
50
    /**
51
     * @var string
52
     */
53
    protected $firstName;
54
    /**
55
     * @var string
56
     */
57
    protected $lastName;
58
    /**
59
     * @var string
60
     */
61
    protected $street;
62
    /**
63
     * @var string
64
     */
65
    protected $streetNumber;
66
    /**
67
     * @var string
68
     */
69
    protected $zipCode;
70
    /**
71
     * @var string
72
     */
73
    protected $city;
74
    /**
75
     * @var ShippingAttribute
76
     */
77
    protected $attribute;
78
79
    /**
80
     * @return int
81
     */
82
    public function getId()
83
    {
84
        return $this->id;
85
    }
86
87
    /**
88
     * @param int $id
89
     *
90
     * @return Shipping
91
     */
92
    public function setId($id)
93
    {
94
        $this->id = $id;
95
96
        return $this;
97
    }
98
99
    /**
100
     * @return int
101
     */
102
    public function getCustomerId()
103
    {
104
        return $this->customerId;
105
    }
106
107
    /**
108
     * @param int $customerId
109
     *
110
     * @return Shipping
111
     */
112
    public function setCustomerId($customerId)
113
    {
114
        $this->customerId = $customerId;
115
116
        return $this;
117
    }
118
119
    /**
120
     * @return int
121
     */
122
    public function getCountryId()
123
    {
124
        return $this->countryId;
125
    }
126
127
    /**
128
     * @param int $countryId
129
     *
130
     * @return Shipping
131
     */
132
    public function setCountryId($countryId)
133
    {
134
        $this->countryId = $countryId;
135
136
        return $this;
137
    }
138
139
    /**
140
     * @return int
141
     */
142
    public function getStateId()
143
    {
144
        return $this->stateId;
145
    }
146
147
    /**
148
     * @param int $stateId
149
     *
150
     * @return Shipping
151
     */
152
    public function setStateId($stateId)
153
    {
154
        $this->stateId = $stateId;
155
156
        return $this;
157
    }
158
159
    /**
160
     * @return string
161
     */
162
    public function getCompany()
163
    {
164
        return $this->company;
165
    }
166
167
    /**
168
     * @param string $company
169
     *
170
     * @return Shipping
171
     */
172
    public function setCompany($company)
173
    {
174
        $this->company = $company;
175
176
        return $this;
177
    }
178
179
    /**
180
     * @return string
181
     */
182
    public function getDepartment()
183
    {
184
        return $this->department;
185
    }
186
187
    /**
188
     * @param string $department
189
     *
190
     * @return Shipping
191
     */
192
    public function setDepartment($department)
193
    {
194
        $this->department = $department;
195
196
        return $this;
197
    }
198
199
    /**
200
     * @return string
201
     */
202
    public function getSalutation()
203
    {
204
        return $this->salutation;
205
    }
206
207
    /**
208
     * @param string $salutation
209
     *
210
     * @return Shipping
211
     */
212
    public function setSalutation($salutation)
213
    {
214
        $this->salutation = $salutation;
215
216
        return $this;
217
    }
218
219
    /**
220
     * @return string
221
     */
222
    public function getNumber()
223
    {
224
        return $this->number;
225
    }
226
227
    /**
228
     * @param string $number
229
     *
230
     * @return Shipping
231
     */
232
    public function setNumber($number)
233
    {
234
        $this->number = $number;
235
236
        return $this;
237
    }
238
239
    /**
240
     * @return string
241
     */
242
    public function getFirstName()
243
    {
244
        return $this->firstName;
245
    }
246
247
    /**
248
     * @param string $firstName
249
     *
250
     * @return Shipping
251
     */
252
    public function setFirstName($firstName)
253
    {
254
        $this->firstName = $firstName;
255
256
        return $this;
257
    }
258
259
    /**
260
     * @return string
261
     */
262
    public function getLastName()
263
    {
264
        return $this->lastName;
265
    }
266
267
    /**
268
     * @param string $lastName
269
     *
270
     * @return Shipping
271
     */
272
    public function setLastName($lastName)
273
    {
274
        $this->lastName = $lastName;
275
276
        return $this;
277
    }
278
279
    /**
280
     * @return string
281
     */
282
    public function getStreet()
283
    {
284
        return $this->street;
285
    }
286
287
    /**
288
     * @param string $street
289
     *
290
     * @return Shipping
291
     */
292
    public function setStreet($street)
293
    {
294
        $this->street = $street;
295
296
        return $this;
297
    }
298
299
    /**
300
     * @return string
301
     */
302
    public function getStreetNumber()
303
    {
304
        return $this->streetNumber;
305
    }
306
307
    /**
308
     * @param string $streetNumber
309
     *
310
     * @return Shipping
311
     */
312
    public function setStreetNumber($streetNumber)
313
    {
314
        $this->streetNumber = $streetNumber;
315
316
        return $this;
317
    }
318
319
    /**
320
     * @return string
321
     */
322
    public function getZipCode()
323
    {
324
        return $this->zipCode;
325
    }
326
327
    /**
328
     * @param string $zipCode
329
     *
330
     * @return Shipping
331
     */
332
    public function setZipCode($zipCode)
333
    {
334
        $this->zipCode = $zipCode;
335
336
        return $this;
337
    }
338
339
    /**
340
     * @return string
341
     */
342
    public function getCity()
343
    {
344
        return $this->city;
345
    }
346
347
    /**
348
     * @param string $city
349
     *
350
     * @return Shipping
351
     */
352
    public function setCity($city)
353
    {
354
        $this->city = $city;
355
356
        return $this;
357
    }
358
359
    /**
360
     * @return ShippingAttribute
361
     */
362
    public function getAttribute()
363
    {
364
        return $this->attribute;
365
    }
366
367
    /**
368
     * @param ShippingAttribute $attribute
369
     *
370
     * @return Shipping
371
     */
372
    public function setAttribute($attribute)
373
    {
374
        $this->attribute = $attribute;
375
376
        return $this;
377
    }
378
}
379