CustomerTrait::setGroupCounting()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
/*
4
 * This file is part of the core-library package.
5
 *
6
 * (c) 2018 WEBEWEB
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace WBW\Library\Core\ThirdParty\SkiData\Traits;
13
14
use DateTime;
15
16
/**
17
 * Customer trait.
18
 *
19
 * @author webeweb <https://github.com/webeweb/>
20
 * @package WBW\Library\Core\ThirdParty\SkiData\Traits
21
 */
22
trait CustomerTrait {
23
24
    /**
25
     * Customer number.
26
     *
27
     * @var int|null
28
     */
29
    private $customerNumber;
30
31
    /**
32
     * Date/time of last modification.
33
     *
34
     * @var DateTime|null
35
     */
36
    private $datetimeLastModification;
37
38
    /**
39
     * Deleted record.
40
     *
41
     * @var bool|null
42
     */
43
    private $deletedRecord;
44
45
    /**
46
     * Division.
47
     *
48
     * @var string|null
49
     */
50
    private $division;
51
52
    /**
53
     * E-mail.
54
     *
55
     * @var string|null
56
     */
57
    private $email;
58
59
    /**
60
     * First name.
61
     *
62
     * @var string|null
63
     */
64
    private $firstname;
65
66
    /**
67
     * Group counting.
68
     *
69
     * @var bool|null
70
     */
71
    private $groupCounting;
72
73
    /**
74
     * Remarks.
75
     *
76
     * @var string|null
77
     */
78
    private $remarks;
79
80
    /**
81
     * Remarks 2.
82
     *
83
     * @var string|null
84
     */
85
    private $remarks2;
86
87
    /**
88
     * Remarks 3.
89
     *
90
     * @var string|null
91
     */
92
    private $remarks3;
93
94
    /**
95
     * Surname.
96
     *
97
     * @var string|null
98
     */
99
    private $surname;
100
101
    /**
102
     * Title.
103
     *
104
     * @var string|null
105
     */
106
    private $title;
107
108
    /**
109
     * Get the customer number.
110
     *
111
     * @return int|null Returns the customer number.
112
     */
113
    public function getCustomerNumber(): ?int {
114
        return $this->customerNumber;
115
    }
116
117
    /**
118
     * Get the date/time of last modification.
119
     *
120
     * @return DateTime|null Returns the date/time of last modification.
121
     */
122
    public function getDatetimeLastModification(): ?DateTime {
123
        return $this->datetimeLastModification;
124
    }
125
126
    /**
127
     * Get the deleted record.
128
     *
129
     * @return bool|null Returns the deleted record.
130
     */
131
    public function getDeletedRecord(): ?bool {
132
        return $this->deletedRecord;
133
    }
134
135
    /**
136
     * Get the division.
137
     *
138
     * @return string|null Returns the division.
139
     */
140
    public function getDivision(): ?string {
141
        return $this->division;
142
    }
143
144
    /**
145
     * Get the email.
146
     *
147
     * @return string|null Returns the email.
148
     */
149
    public function getEmail(): ?string {
150
        return $this->email;
151
    }
152
153
    /**
154
     * Get the firstname.
155
     *
156
     * @return string|null Returns the firstname.
157
     */
158
    public function getFirstname(): ?string {
159
        return $this->firstname;
160
    }
161
162
    /**
163
     * Get the group counting.
164
     *
165
     * @return bool|null Returns the group counting.
166
     */
167
    public function getGroupCounting(): ?bool {
168
        return $this->groupCounting;
169
    }
170
171
    /**
172
     * Get the remarks.
173
     *
174
     * @return string|null Returns the remarks.
175
     */
176
    public function getRemarks(): ?string {
177
        return $this->remarks;
178
    }
179
180
    /**
181
     * Get the remarks 2.
182
     *
183
     * @return string|null Returns the remarks 2.
184
     */
185
    public function getRemarks2(): ?string {
186
        return $this->remarks2;
187
    }
188
189
    /**
190
     * Get the remarks 3.
191
     *
192
     * @return string|null Returns the remarks 3.
193
     */
194
    public function getRemarks3(): ?string {
195
        return $this->remarks3;
196
    }
197
198
    /**
199
     * Get the surname.
200
     *
201
     * @return string|null Returns the surname.
202
     */
203
    public function getSurname(): ?string {
204
        return $this->surname;
205
    }
206
207
    /**
208
     * Get the title.
209
     *
210
     * @return string|null Returns the title.
211
     */
212
    public function getTitle(): ?string {
213
        return $this->title;
214
    }
215
216
    /**
217
     * Set the customer number.
218
     *
219
     * @param int|null $customerNumber The customer number.
220
     * @return self Returns this instance.
221
     */
222
    public function setCustomerNumber(?int $customerNumber): self {
223
        $this->customerNumber = $customerNumber;
224
        return $this;
225
    }
226
227
    /**
228
     * Set the date/time of last modification.
229
     *
230
     * @param DateTime|null $datetimeLastModification The date/time of last modification.
231
     * @return self Returns this instance.
232
     */
233
    public function setDatetimeLastModification(?DateTime $datetimeLastModification): self {
234
        $this->datetimeLastModification = $datetimeLastModification;
235
        return $this;
236
    }
237
238
    /**
239
     * Set the deleted record.
240
     *
241
     * @param bool|null $deletedRecord The deleted record.
242
     * @return self Returns this instance.
243
     */
244
    public function setDeletedRecord(?bool $deletedRecord): self {
245
        $this->deletedRecord = $deletedRecord;
246
        return $this;
247
    }
248
249
    /**
250
     * Set the division.
251
     *
252
     * @param string|null $division The division.
253
     * @return self Returns this instance.
254
     */
255
    public function setDivision(?string $division): self {
256
        $this->division = $division;
257
        return $this;
258
    }
259
260
    /**
261
     * Set the email.
262
     *
263
     * @param string|null $email The email.
264
     * @return self Returns this instance.
265
     */
266
    public function setEmail(?string $email): self {
267
        $this->email = $email;
268
        return $this;
269
    }
270
271
    /**
272
     * Set the firstname.
273
     *
274
     * @param string|null $firstname The firstname.
275
     * @return self Returns this instance.
276
     */
277
    public function setFirstname(?string $firstname): self {
278
        $this->firstname = $firstname;
279
        return $this;
280
    }
281
282
    /**
283
     * Set the group counting.
284
     *
285
     * @param bool|null $groupCounting The group counting.
286
     * @return self Returns this instance.
287
     */
288
    public function setGroupCounting(?bool $groupCounting): self {
289
        $this->groupCounting = $groupCounting;
290
        return $this;
291
    }
292
293
    /**
294
     * Set the remarks.
295
     *
296
     * @param string|null $remarks The remarks .
297
     * @return self Returns this instance.
298
     */
299
    public function setRemarks(?string $remarks): self {
300
        $this->remarks = $remarks;
301
        return $this;
302
    }
303
304
    /**
305
     * Set the remarks 2.
306
     *
307
     * @param string|null $remarks2 The remarks 2.
308
     * @return self Returns this instance.
309
     */
310
    public function setRemarks2(?string $remarks2): self {
311
        $this->remarks2 = $remarks2;
312
        return $this;
313
    }
314
315
    /**
316
     * Set the remarks 3.
317
     *
318
     * @param string|null $remarks3 The remarks 3.
319
     * @return self Returns this instance.
320
     */
321
    public function setRemarks3(?string $remarks3): self {
322
        $this->remarks3 = $remarks3;
323
        return $this;
324
    }
325
326
    /**
327
     * Set the surname.
328
     *
329
     * @param string|null $surname The surname.
330
     * @return self Returns this instance.
331
     */
332
    public function setSurname(?string $surname): self {
333
        $this->surname = $surname;
334
        return $this;
335
    }
336
337
    /**
338
     * Set the title.
339
     *
340
     * @param string|null $title The title.
341
     * @return self Returns this instance.
342
     */
343
    public function setTitle(?string $title): self {
344
        $this->title = $title;
345
        return $this;
346
    }
347
}
348