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.

CustomerGroup::getId()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
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 CustomerGroup.
15
 */
16
class CustomerGroup extends Base
17
{
18
    /**
19
     * @var int
20
     */
21
    protected $id;
22
    /**
23
     * @var string
24
     */
25
    protected $key;
26
    /**
27
     * @var string
28
     */
29
    protected $name;
30
    /**
31
     * @var bool
32
     */
33
    protected $tax;
34
    /**
35
     * @var bool
36
     */
37
    protected $taxInput;
38
    /**
39
     * @var bool
40
     */
41
    protected $mode;
42
    /**
43
     * @var float
44
     */
45
    protected $discount;
46
    /**
47
     * @var float
48
     */
49
    protected $minimumOrder;
50
    /**
51
     * @var float
52
     */
53
    protected $minimumOrderSurcharge;
54
    /**
55
     * @var float
56
     */
57
    protected $basePrice;
58
    /**
59
     * @var float
60
     */
61
    protected $percent;
62
63
    /**
64
     * @return int
65
     */
66
    public function getId()
67
    {
68
        return $this->id;
69
    }
70
71
    /**
72
     * @param int $id
73
     *
74
     * @return CustomerGroup
75
     */
76
    public function setId($id)
77
    {
78
        $this->id = $id;
79
80
        return $this;
81
    }
82
83
    /**
84
     * @return string
85
     */
86
    public function getKey()
87
    {
88
        return $this->key;
89
    }
90
91
    /**
92
     * @param string $key
93
     *
94
     * @return CustomerGroup
95
     */
96
    public function setKey($key)
97
    {
98
        $this->key = $key;
99
100
        return $this;
101
    }
102
103
    /**
104
     * @return string
105
     */
106
    public function getName()
107
    {
108
        return $this->name;
109
    }
110
111
    /**
112
     * @param string $name
113
     *
114
     * @return CustomerGroup
115
     */
116
    public function setName($name)
117
    {
118
        $this->name = $name;
119
120
        return $this;
121
    }
122
123
    /**
124
     * @return bool
125
     */
126
    public function isTax()
127
    {
128
        return $this->tax;
129
    }
130
131
    /**
132
     * @param bool $tax
133
     *
134
     * @return CustomerGroup
135
     */
136
    public function setTax($tax)
137
    {
138
        $this->tax = $tax;
139
140
        return $this;
141
    }
142
143
    /**
144
     * @return bool
145
     */
146
    public function isTaxInput()
147
    {
148
        return $this->taxInput;
149
    }
150
151
    /**
152
     * @param bool $taxInput
153
     *
154
     * @return CustomerGroup
155
     */
156
    public function setTaxInput($taxInput)
157
    {
158
        $this->taxInput = $taxInput;
159
160
        return $this;
161
    }
162
163
    /**
164
     * @return bool
165
     */
166
    public function isMode()
167
    {
168
        return $this->mode;
169
    }
170
171
    /**
172
     * @param bool $mode
173
     *
174
     * @return CustomerGroup
175
     */
176
    public function setMode($mode)
177
    {
178
        $this->mode = $mode;
179
180
        return $this;
181
    }
182
183
    /**
184
     * @return float
185
     */
186
    public function getDiscount()
187
    {
188
        return $this->discount;
189
    }
190
191
    /**
192
     * @param float $discount
193
     *
194
     * @return CustomerGroup
195
     */
196
    public function setDiscount($discount)
197
    {
198
        $this->discount = $discount;
199
200
        return $this;
201
    }
202
203
    /**
204
     * @return float
205
     */
206
    public function getMinimumOrder()
207
    {
208
        return $this->minimumOrder;
209
    }
210
211
    /**
212
     * @param float $minimumOrder
213
     *
214
     * @return CustomerGroup
215
     */
216
    public function setMinimumOrder($minimumOrder)
217
    {
218
        $this->minimumOrder = $minimumOrder;
219
220
        return $this;
221
    }
222
223
    /**
224
     * @return float
225
     */
226
    public function getMinimumOrderSurcharge()
227
    {
228
        return $this->minimumOrderSurcharge;
229
    }
230
231
    /**
232
     * @param float $minimumOrderSurcharge
233
     *
234
     * @return CustomerGroup
235
     */
236
    public function setMinimumOrderSurcharge($minimumOrderSurcharge)
237
    {
238
        $this->minimumOrderSurcharge = $minimumOrderSurcharge;
239
240
        return $this;
241
    }
242
243
    /**
244
     * @return float
245
     */
246
    public function getBasePrice()
247
    {
248
        return $this->basePrice;
249
    }
250
251
    /**
252
     * @param float $basePrice
253
     *
254
     * @return CustomerGroup
255
     */
256
    public function setBasePrice($basePrice)
257
    {
258
        $this->basePrice = $basePrice;
259
260
        return $this;
261
    }
262
263
    /**
264
     * @return float
265
     */
266
    public function getPercent()
267
    {
268
        return $this->percent;
269
    }
270
271
    /**
272
     * @param float $percent
273
     *
274
     * @return CustomerGroup
275
     */
276
    public function setPercent($percent)
277
    {
278
        $this->percent = $percent;
279
280
        return $this;
281
    }
282
}
283