Completed
Push — master ( 17d78d...4b1efa )
by WEBEWEB
01:27
created

DecTvaUlt::getNumUniqEcr()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
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\Quadratus\Model\QCompta;
13
14
use DateTime;
15
16
/**
17
 * Dec tva ult.
18
 *
19
 * @author webeweb <https://github.com/webeweb/>
20
 * @package WBW\Library\Core\ThirdParty\Quadratus\Model\QCompta
21
 */
22
class DecTvaUlt {
23
24
    /**
25
     * Code journal.
26
     *
27
     * @var string|null
28
     */
29
    private $codeJournal;
30
31
    /**
32
     * Code tva.
33
     *
34
     * @var int|null
35
     */
36
    private $codeTva;
37
38
    /**
39
     * Compteur.
40
     *
41
     * @var int|null
42
     */
43
    private $compteur;
44
45
    /**
46
     * Folio.
47
     *
48
     * @var int|null
49
     */
50
    private $folio;
51
52
    /**
53
     * Libelle ecr.
54
     *
55
     * @var string|null
56
     */
57
    private $libelleEcr;
58
59
    /**
60
     * Ligne folio.
61
     *
62
     * @var int|null
63
     */
64
    private $ligneFolio;
65
66
    /**
67
     * Montant ht.
68
     *
69
     * @var float|null
70
     */
71
    private $montantHt;
72
73
    /**
74
     * Montant tva.
75
     *
76
     * @var float|null
77
     */
78
    private $montantTva;
79
80
    /**
81
     * Num ligne.
82
     *
83
     * @var int|null
84
     */
85
    private $numLigne;
86
87
    /**
88
     * Num uniq ecr.
89
     *
90
     * @var int|null
91
     */
92
    private $numUniqEcr;
93
94
    /**
95
     * Per dec.
96
     *
97
     * @var DateTime|null
98
     */
99
    private $perDec;
100
101
    /**
102
     * Per dec ult.
103
     *
104
     * @var DateTime|null
105
     */
106
    private $perDecUlt;
107
108
    /**
109
     * Periode ecriture.
110
     *
111
     * @var DateTime|null
112
     */
113
    private $periodeEcriture;
114
115
116
    /**
117
     * Constructor.
118
     */
119
    public function __construct() {
120
        // NOTHING TO DO
121
    }
122
123
    /**
124
     * Get the code journal.
125
     *
126
     * @return string|null Returns the code journal.
127
     */
128
    public function getCodeJournal(): ?string{
129
        return $this->codeJournal;
130
    }
131
132
    /**
133
     * Get the code tva.
134
     *
135
     * @return int|null Returns the code tva.
136
     */
137
    public function getCodeTva(): ?int{
138
        return $this->codeTva;
139
    }
140
141
    /**
142
     * Get the compteur.
143
     *
144
     * @return int|null Returns the compteur.
145
     */
146
    public function getCompteur(): ?int{
147
        return $this->compteur;
148
    }
149
150
    /**
151
     * Get the folio.
152
     *
153
     * @return int|null Returns the folio.
154
     */
155
    public function getFolio(): ?int{
156
        return $this->folio;
157
    }
158
159
    /**
160
     * Get the libelle ecr.
161
     *
162
     * @return string|null Returns the libelle ecr.
163
     */
164
    public function getLibelleEcr(): ?string{
165
        return $this->libelleEcr;
166
    }
167
168
    /**
169
     * Get the ligne folio.
170
     *
171
     * @return int|null Returns the ligne folio.
172
     */
173
    public function getLigneFolio(): ?int{
174
        return $this->ligneFolio;
175
    }
176
177
    /**
178
     * Get the montant ht.
179
     *
180
     * @return float|null Returns the montant ht.
181
     */
182
    public function getMontantHt(): ?float{
183
        return $this->montantHt;
184
    }
185
186
    /**
187
     * Get the montant tva.
188
     *
189
     * @return float|null Returns the montant tva.
190
     */
191
    public function getMontantTva(): ?float{
192
        return $this->montantTva;
193
    }
194
195
    /**
196
     * Get the num ligne.
197
     *
198
     * @return int|null Returns the num ligne.
199
     */
200
    public function getNumLigne(): ?int{
201
        return $this->numLigne;
202
    }
203
204
    /**
205
     * Get the num uniq ecr.
206
     *
207
     * @return int|null Returns the num uniq ecr.
208
     */
209
    public function getNumUniqEcr(): ?int{
210
        return $this->numUniqEcr;
211
    }
212
213
    /**
214
     * Get the per dec.
215
     *
216
     * @return DateTime|null Returns the per dec.
217
     */
218
    public function getPerDec(): ?DateTime{
219
        return $this->perDec;
220
    }
221
222
    /**
223
     * Get the per dec ult.
224
     *
225
     * @return DateTime|null Returns the per dec ult.
226
     */
227
    public function getPerDecUlt(): ?DateTime{
228
        return $this->perDecUlt;
229
    }
230
231
    /**
232
     * Get the periode ecriture.
233
     *
234
     * @return DateTime|null Returns the periode ecriture.
235
     */
236
    public function getPeriodeEcriture(): ?DateTime{
237
        return $this->periodeEcriture;
238
    }
239
240
    /**
241
     * Set the code journal.
242
     *
243
     * @param string|null $codeJournal The code journal.
244
     * @return DecTvaUlt Returns this Dec tva ult.
245
     */
246
    public function setCodeJournal(?string $codeJournal): DecTvaUlt {
247
        $this->codeJournal = $codeJournal;
248
        return $this;
249
    }
250
251
    /**
252
     * Set the code tva.
253
     *
254
     * @param int|null $codeTva The code tva.
255
     * @return DecTvaUlt Returns this Dec tva ult.
256
     */
257
    public function setCodeTva(?int $codeTva): DecTvaUlt {
258
        $this->codeTva = $codeTva;
259
        return $this;
260
    }
261
262
    /**
263
     * Set the compteur.
264
     *
265
     * @param int|null $compteur The compteur.
266
     * @return DecTvaUlt Returns this Dec tva ult.
267
     */
268
    public function setCompteur(?int $compteur): DecTvaUlt {
269
        $this->compteur = $compteur;
270
        return $this;
271
    }
272
273
    /**
274
     * Set the folio.
275
     *
276
     * @param int|null $folio The folio.
277
     * @return DecTvaUlt Returns this Dec tva ult.
278
     */
279
    public function setFolio(?int $folio): DecTvaUlt {
280
        $this->folio = $folio;
281
        return $this;
282
    }
283
284
    /**
285
     * Set the libelle ecr.
286
     *
287
     * @param string|null $libelleEcr The libelle ecr.
288
     * @return DecTvaUlt Returns this Dec tva ult.
289
     */
290
    public function setLibelleEcr(?string $libelleEcr): DecTvaUlt {
291
        $this->libelleEcr = $libelleEcr;
292
        return $this;
293
    }
294
295
    /**
296
     * Set the ligne folio.
297
     *
298
     * @param int|null $ligneFolio The ligne folio.
299
     * @return DecTvaUlt Returns this Dec tva ult.
300
     */
301
    public function setLigneFolio(?int $ligneFolio): DecTvaUlt {
302
        $this->ligneFolio = $ligneFolio;
303
        return $this;
304
    }
305
306
    /**
307
     * Set the montant ht.
308
     *
309
     * @param float|null $montantHt The montant ht.
310
     * @return DecTvaUlt Returns this Dec tva ult.
311
     */
312
    public function setMontantHt(?float $montantHt): DecTvaUlt {
313
        $this->montantHt = $montantHt;
314
        return $this;
315
    }
316
317
    /**
318
     * Set the montant tva.
319
     *
320
     * @param float|null $montantTva The montant tva.
321
     * @return DecTvaUlt Returns this Dec tva ult.
322
     */
323
    public function setMontantTva(?float $montantTva): DecTvaUlt {
324
        $this->montantTva = $montantTva;
325
        return $this;
326
    }
327
328
    /**
329
     * Set the num ligne.
330
     *
331
     * @param int|null $numLigne The num ligne.
332
     * @return DecTvaUlt Returns this Dec tva ult.
333
     */
334
    public function setNumLigne(?int $numLigne): DecTvaUlt {
335
        $this->numLigne = $numLigne;
336
        return $this;
337
    }
338
339
    /**
340
     * Set the num uniq ecr.
341
     *
342
     * @param int|null $numUniqEcr The num uniq ecr.
343
     * @return DecTvaUlt Returns this Dec tva ult.
344
     */
345
    public function setNumUniqEcr(?int $numUniqEcr): DecTvaUlt {
346
        $this->numUniqEcr = $numUniqEcr;
347
        return $this;
348
    }
349
350
    /**
351
     * Set the per dec.
352
     *
353
     * @param DateTime|null $perDec The per dec.
354
     * @return DecTvaUlt Returns this Dec tva ult.
355
     */
356
    public function setPerDec(?DateTime $perDec): DecTvaUlt {
357
        $this->perDec = $perDec;
358
        return $this;
359
    }
360
361
    /**
362
     * Set the per dec ult.
363
     *
364
     * @param DateTime|null $perDecUlt The per dec ult.
365
     * @return DecTvaUlt Returns this Dec tva ult.
366
     */
367
    public function setPerDecUlt(?DateTime $perDecUlt): DecTvaUlt {
368
        $this->perDecUlt = $perDecUlt;
369
        return $this;
370
    }
371
372
    /**
373
     * Set the periode ecriture.
374
     *
375
     * @param DateTime|null $periodeEcriture The periode ecriture.
376
     * @return DecTvaUlt Returns this Dec tva ult.
377
     */
378
    public function setPeriodeEcriture(?DateTime $periodeEcriture): DecTvaUlt {
379
        $this->periodeEcriture = $periodeEcriture;
380
        return $this;
381
    }
382
}
383