Completed
Push — master ( 68052c...3d81fc )
by WEBEWEB
03:35
created

FacturesLignes   F

Complexity

Total Complexity 107

Size/Duplication

Total Lines 1441
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 107
lcom 0
cbo 0
dl 0
loc 1441
rs 0.8
c 0
b 0
f 0

107 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A getCodeAffaire() 0 3 1
A getCodeAffaireLigne() 0 3 1
A getCodeAnalArticle() 0 3 1
A getCodeArticle() 0 3 1
A getCodeChantier() 0 3 1
A getCodeChantierLigne() 0 3 1
A getCodeClient() 0 3 1
A getCodeRegroupement() 0 3 1
A getCodeTvaArticle() 0 3 1
A getCodeUnite() 0 3 1
A getCodeVentilArticle() 0 3 1
A getCoefficientBt() 0 3 1
A getDateBt() 0 3 1
A getDatePreparation() 0 3 1
A getDepuisDebFac() 0 3 1
A getDesignation() 0 3 1
A getDesignation2() 0 3 1
A getDesignation3() 0 3 1
A getDesignationBis() 0 3 1
A getDesignationBis2() 0 3 1
A getDesignationBis3() 0 3 1
A getDesignationRtf() 0 3 1
A getDureeBt() 0 3 1
A getFromPointageBt() 0 3 1
A getHeuresPrev() 0 3 1
A getHeuresReel() 0 3 1
A getImprimerDansPied() 0 3 1
A getMontantUnitaireTaxe() 0 3 1
A getMotCleDansPied() 0 3 1
A getNoChronoPreparation() 0 3 1
A getNoLigneOri() 0 3 1
A getNoPieceOrigine() 0 3 1
A getNumeroBt() 0 3 1
A getNumeroFacture() 0 3 1
A getNumeroLigne() 0 3 1
A getPeriodePreparation() 0 3 1
A getPeriodeVentilMarge() 0 3 1
A getPosteRent() 0 3 1
A getPrixAchat() 0 3 1
A getPrixAchatBt() 0 3 1
A getPrixUnitaire() 0 3 1
A getPrixUnitairePdf() 0 3 1
A getPxFacture() 0 3 1
A getQuantite() 0 3 1
A getRefPosteCdeWebFt() 0 3 1
A getRemiseLigne1() 0 3 1
A getRemiseLigne2() 0 3 1
A getRemiseLigne3() 0 3 1
A getTauxHoraireBt() 0 3 1
A getTauxTvaArticle() 0 3 1
A getTauxTvaTaxe() 0 3 1
A getTypePiece() 0 3 1
A getVentilMarge() 0 3 1
A setCodeAffaire() 0 4 1
A setCodeAffaireLigne() 0 4 1
A setCodeAnalArticle() 0 4 1
A setCodeArticle() 0 4 1
A setCodeChantier() 0 4 1
A setCodeChantierLigne() 0 4 1
A setCodeClient() 0 4 1
A setCodeRegroupement() 0 4 1
A setCodeTvaArticle() 0 4 1
A setCodeUnite() 0 4 1
A setCodeVentilArticle() 0 4 1
A setCoefficientBt() 0 4 1
A setDateBt() 0 4 1
A setDatePreparation() 0 4 1
A setDepuisDebFac() 0 4 1
A setDesignation() 0 4 1
A setDesignation2() 0 4 1
A setDesignation3() 0 4 1
A setDesignationBis() 0 4 1
A setDesignationBis2() 0 4 1
A setDesignationBis3() 0 4 1
A setDesignationRtf() 0 4 1
A setDureeBt() 0 4 1
A setFromPointageBt() 0 4 1
A setHeuresPrev() 0 4 1
A setHeuresReel() 0 4 1
A setImprimerDansPied() 0 4 1
A setMontantUnitaireTaxe() 0 4 1
A setMotCleDansPied() 0 4 1
A setNoChronoPreparation() 0 4 1
A setNoLigneOri() 0 4 1
A setNoPieceOrigine() 0 4 1
A setNumeroBt() 0 4 1
A setNumeroFacture() 0 4 1
A setNumeroLigne() 0 4 1
A setPeriodePreparation() 0 4 1
A setPeriodeVentilMarge() 0 4 1
A setPosteRent() 0 4 1
A setPrixAchat() 0 4 1
A setPrixAchatBt() 0 4 1
A setPrixUnitaire() 0 4 1
A setPrixUnitairePdf() 0 4 1
A setPxFacture() 0 4 1
A setQuantite() 0 4 1
A setRefPosteCdeWebFt() 0 4 1
A setRemiseLigne1() 0 4 1
A setRemiseLigne2() 0 4 1
A setRemiseLigne3() 0 4 1
A setTauxHoraireBt() 0 4 1
A setTauxTvaArticle() 0 4 1
A setTauxTvaTaxe() 0 4 1
A setTypePiece() 0 4 1
A setVentilMarge() 0 4 1

How to fix   Complexity   

Complex Class

Complex classes like FacturesLignes often do a lot of different things. To break such a class down, we need to identify a cohesive component within that class. A common approach to find such a component is to look for fields/methods that share the same prefixes, or suffixes. You can also have a look at the cohesion graph to spot any un-connected, or weakly-connected components.

Once you have determined the fields that belong together, you can apply the Extract Class refactoring. If the component makes sense as a sub-class, Extract Subclass is also a candidate, and is often faster.

While breaking up the class, it is a good idea to analyze how other classes use FacturesLignes, and based on these observations, apply Extract Interface, too.

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\Proprete;
13
14
use DateTime;
15
16
/**
17
 * Factures lignes.
18
 *
19
 * @author webeweb <https://github.com/webeweb/>
20
 * @package WBW\Library\Core\ThirdParty\Quadratus\Model\Proprete
21
 */
22
class FacturesLignes {
23
24
    /**
25
     * Code affaire.
26
     *
27
     * @var string|null
28
     */
29
    private $codeAffaire;
30
31
    /**
32
     * Code affaire ligne.
33
     *
34
     * @var string|null
35
     */
36
    private $codeAffaireLigne;
37
38
    /**
39
     * Code anal article.
40
     *
41
     * @var string|null
42
     */
43
    private $codeAnalArticle;
44
45
    /**
46
     * Code article.
47
     *
48
     * @var string|null
49
     */
50
    private $codeArticle;
51
52
    /**
53
     * Code chantier.
54
     *
55
     * @var string|null
56
     */
57
    private $codeChantier;
58
59
    /**
60
     * Code chantier ligne.
61
     *
62
     * @var string|null
63
     */
64
    private $codeChantierLigne;
65
66
    /**
67
     * Code client.
68
     *
69
     * @var string|null
70
     */
71
    private $codeClient;
72
73
    /**
74
     * Code regroupement.
75
     *
76
     * @var string|null
77
     */
78
    private $codeRegroupement;
79
80
    /**
81
     * Code tva article.
82
     *
83
     * @var string|null
84
     */
85
    private $codeTvaArticle;
86
87
    /**
88
     * Code unite.
89
     *
90
     * @var string|null
91
     */
92
    private $codeUnite;
93
94
    /**
95
     * Code ventil article.
96
     *
97
     * @var string|null
98
     */
99
    private $codeVentilArticle;
100
101
    /**
102
     * Coefficient bt.
103
     *
104
     * @var float|null
105
     */
106
    private $coefficientBt;
107
108
    /**
109
     * Date bt.
110
     *
111
     * @var DateTime|null
112
     */
113
    private $dateBt;
114
115
    /**
116
     * Date preparation.
117
     *
118
     * @var DateTime|null
119
     */
120
    private $datePreparation;
121
122
    /**
123
     * Depuis deb fac.
124
     *
125
     * @var bool|null
126
     */
127
    private $depuisDebFac;
128
129
    /**
130
     * Designation.
131
     *
132
     * @var string|null
133
     */
134
    private $designation;
135
136
    /**
137
     * Designation2.
138
     *
139
     * @var string|null
140
     */
141
    private $designation2;
142
143
    /**
144
     * Designation3.
145
     *
146
     * @var string|null
147
     */
148
    private $designation3;
149
150
    /**
151
     * Designation bis.
152
     *
153
     * @var string|null
154
     */
155
    private $designationBis;
156
157
    /**
158
     * Designation bis2.
159
     *
160
     * @var string|null
161
     */
162
    private $designationBis2;
163
164
    /**
165
     * Designation bis3.
166
     *
167
     * @var string|null
168
     */
169
    private $designationBis3;
170
171
    /**
172
     * Designation rtf.
173
     *
174
     * @var string|null
175
     */
176
    private $designationRtf;
177
178
    /**
179
     * Duree bt.
180
     *
181
     * @var float|null
182
     */
183
    private $dureeBt;
184
185
    /**
186
     * From pointage bt.
187
     *
188
     * @var bool|null
189
     */
190
    private $fromPointageBt;
191
192
    /**
193
     * Heures prev.
194
     *
195
     * @var float|null
196
     */
197
    private $heuresPrev;
198
199
    /**
200
     * Heures reel.
201
     *
202
     * @var float|null
203
     */
204
    private $heuresReel;
205
206
    /**
207
     * Imprimer dans pied.
208
     *
209
     * @var bool|null
210
     */
211
    private $imprimerDansPied;
212
213
    /**
214
     * Montant unitaire taxe.
215
     *
216
     * @var float|null
217
     */
218
    private $montantUnitaireTaxe;
219
220
    /**
221
     * Mot cle dans pied.
222
     *
223
     * @var string|null
224
     */
225
    private $motCleDansPied;
226
227
    /**
228
     * No chrono preparation.
229
     *
230
     * @var int|null
231
     */
232
    private $noChronoPreparation;
233
234
    /**
235
     * No ligne ori.
236
     *
237
     * @var int|null
238
     */
239
    private $noLigneOri;
240
241
    /**
242
     * No piece origine.
243
     *
244
     * @var string|null
245
     */
246
    private $noPieceOrigine;
247
248
    /**
249
     * Numero bt.
250
     *
251
     * @var int|null
252
     */
253
    private $numeroBt;
254
255
    /**
256
     * Numero facture.
257
     *
258
     * @var string|null
259
     */
260
    private $numeroFacture;
261
262
    /**
263
     * Numero ligne.
264
     *
265
     * @var int|null
266
     */
267
    private $numeroLigne;
268
269
    /**
270
     * Periode preparation.
271
     *
272
     * @var DateTime|null
273
     */
274
    private $periodePreparation;
275
276
    /**
277
     * Periode ventil marge.
278
     *
279
     * @var DateTime|null
280
     */
281
    private $periodeVentilMarge;
282
283
    /**
284
     * Poste rent.
285
     *
286
     * @var string|null
287
     */
288
    private $posteRent;
289
290
    /**
291
     * Prix achat.
292
     *
293
     * @var float|null
294
     */
295
    private $prixAchat;
296
297
    /**
298
     * Prix achat bt.
299
     *
300
     * @var float|null
301
     */
302
    private $prixAchatBt;
303
304
    /**
305
     * Prix unitaire.
306
     *
307
     * @var float|null
308
     */
309
    private $prixUnitaire;
310
311
    /**
312
     * Prix unitaire pdf.
313
     *
314
     * @var float|null
315
     */
316
    private $prixUnitairePdf;
317
318
    /**
319
     * Px facture.
320
     *
321
     * @var bool|null
322
     */
323
    private $pxFacture;
324
325
    /**
326
     * Quantite.
327
     *
328
     * @var float|null
329
     */
330
    private $quantite;
331
332
    /**
333
     * Ref poste cde web ft.
334
     *
335
     * @var string|null
336
     */
337
    private $refPosteCdeWebFt;
338
339
    /**
340
     * Remise ligne1.
341
     *
342
     * @var float|null
343
     */
344
    private $remiseLigne1;
345
346
    /**
347
     * Remise ligne2.
348
     *
349
     * @var float|null
350
     */
351
    private $remiseLigne2;
352
353
    /**
354
     * Remise ligne3.
355
     *
356
     * @var float|null
357
     */
358
    private $remiseLigne3;
359
360
    /**
361
     * Taux horaire bt.
362
     *
363
     * @var float|null
364
     */
365
    private $tauxHoraireBt;
366
367
    /**
368
     * Taux tva article.
369
     *
370
     * @var float|null
371
     */
372
    private $tauxTvaArticle;
373
374
    /**
375
     * Taux tva taxe.
376
     *
377
     * @var float|null
378
     */
379
    private $tauxTvaTaxe;
380
381
    /**
382
     * Type piece.
383
     *
384
     * @var string|null
385
     */
386
    private $typePiece;
387
388
    /**
389
     * Ventil marge.
390
     *
391
     * @var bool|null
392
     */
393
    private $ventilMarge;
394
395
396
    /**
397
     * Constructor.
398
     */
399
    public function __construct() {
400
        // NOTHING TO DO
401
    }
402
403
    /**
404
     * Get the code affaire.
405
     *
406
     * @return string|null Returns the code affaire.
407
     */
408
    public function getCodeAffaire(): ?string{
409
        return $this->codeAffaire;
410
    }
411
412
    /**
413
     * Get the code affaire ligne.
414
     *
415
     * @return string|null Returns the code affaire ligne.
416
     */
417
    public function getCodeAffaireLigne(): ?string{
418
        return $this->codeAffaireLigne;
419
    }
420
421
    /**
422
     * Get the code anal article.
423
     *
424
     * @return string|null Returns the code anal article.
425
     */
426
    public function getCodeAnalArticle(): ?string{
427
        return $this->codeAnalArticle;
428
    }
429
430
    /**
431
     * Get the code article.
432
     *
433
     * @return string|null Returns the code article.
434
     */
435
    public function getCodeArticle(): ?string{
436
        return $this->codeArticle;
437
    }
438
439
    /**
440
     * Get the code chantier.
441
     *
442
     * @return string|null Returns the code chantier.
443
     */
444
    public function getCodeChantier(): ?string{
445
        return $this->codeChantier;
446
    }
447
448
    /**
449
     * Get the code chantier ligne.
450
     *
451
     * @return string|null Returns the code chantier ligne.
452
     */
453
    public function getCodeChantierLigne(): ?string{
454
        return $this->codeChantierLigne;
455
    }
456
457
    /**
458
     * Get the code client.
459
     *
460
     * @return string|null Returns the code client.
461
     */
462
    public function getCodeClient(): ?string{
463
        return $this->codeClient;
464
    }
465
466
    /**
467
     * Get the code regroupement.
468
     *
469
     * @return string|null Returns the code regroupement.
470
     */
471
    public function getCodeRegroupement(): ?string{
472
        return $this->codeRegroupement;
473
    }
474
475
    /**
476
     * Get the code tva article.
477
     *
478
     * @return string|null Returns the code tva article.
479
     */
480
    public function getCodeTvaArticle(): ?string{
481
        return $this->codeTvaArticle;
482
    }
483
484
    /**
485
     * Get the code unite.
486
     *
487
     * @return string|null Returns the code unite.
488
     */
489
    public function getCodeUnite(): ?string{
490
        return $this->codeUnite;
491
    }
492
493
    /**
494
     * Get the code ventil article.
495
     *
496
     * @return string|null Returns the code ventil article.
497
     */
498
    public function getCodeVentilArticle(): ?string{
499
        return $this->codeVentilArticle;
500
    }
501
502
    /**
503
     * Get the coefficient bt.
504
     *
505
     * @return float|null Returns the coefficient bt.
506
     */
507
    public function getCoefficientBt(): ?float{
508
        return $this->coefficientBt;
509
    }
510
511
    /**
512
     * Get the date bt.
513
     *
514
     * @return DateTime|null Returns the date bt.
515
     */
516
    public function getDateBt(): ?DateTime{
517
        return $this->dateBt;
518
    }
519
520
    /**
521
     * Get the date preparation.
522
     *
523
     * @return DateTime|null Returns the date preparation.
524
     */
525
    public function getDatePreparation(): ?DateTime{
526
        return $this->datePreparation;
527
    }
528
529
    /**
530
     * Get the depuis deb fac.
531
     *
532
     * @return bool|null Returns the depuis deb fac.
533
     */
534
    public function getDepuisDebFac(): ?bool{
535
        return $this->depuisDebFac;
536
    }
537
538
    /**
539
     * Get the designation.
540
     *
541
     * @return string|null Returns the designation.
542
     */
543
    public function getDesignation(): ?string{
544
        return $this->designation;
545
    }
546
547
    /**
548
     * Get the designation2.
549
     *
550
     * @return string|null Returns the designation2.
551
     */
552
    public function getDesignation2(): ?string{
553
        return $this->designation2;
554
    }
555
556
    /**
557
     * Get the designation3.
558
     *
559
     * @return string|null Returns the designation3.
560
     */
561
    public function getDesignation3(): ?string{
562
        return $this->designation3;
563
    }
564
565
    /**
566
     * Get the designation bis.
567
     *
568
     * @return string|null Returns the designation bis.
569
     */
570
    public function getDesignationBis(): ?string{
571
        return $this->designationBis;
572
    }
573
574
    /**
575
     * Get the designation bis2.
576
     *
577
     * @return string|null Returns the designation bis2.
578
     */
579
    public function getDesignationBis2(): ?string{
580
        return $this->designationBis2;
581
    }
582
583
    /**
584
     * Get the designation bis3.
585
     *
586
     * @return string|null Returns the designation bis3.
587
     */
588
    public function getDesignationBis3(): ?string{
589
        return $this->designationBis3;
590
    }
591
592
    /**
593
     * Get the designation rtf.
594
     *
595
     * @return string|null Returns the designation rtf.
596
     */
597
    public function getDesignationRtf(): ?string{
598
        return $this->designationRtf;
599
    }
600
601
    /**
602
     * Get the duree bt.
603
     *
604
     * @return float|null Returns the duree bt.
605
     */
606
    public function getDureeBt(): ?float{
607
        return $this->dureeBt;
608
    }
609
610
    /**
611
     * Get the from pointage bt.
612
     *
613
     * @return bool|null Returns the from pointage bt.
614
     */
615
    public function getFromPointageBt(): ?bool{
616
        return $this->fromPointageBt;
617
    }
618
619
    /**
620
     * Get the heures prev.
621
     *
622
     * @return float|null Returns the heures prev.
623
     */
624
    public function getHeuresPrev(): ?float{
625
        return $this->heuresPrev;
626
    }
627
628
    /**
629
     * Get the heures reel.
630
     *
631
     * @return float|null Returns the heures reel.
632
     */
633
    public function getHeuresReel(): ?float{
634
        return $this->heuresReel;
635
    }
636
637
    /**
638
     * Get the imprimer dans pied.
639
     *
640
     * @return bool|null Returns the imprimer dans pied.
641
     */
642
    public function getImprimerDansPied(): ?bool{
643
        return $this->imprimerDansPied;
644
    }
645
646
    /**
647
     * Get the montant unitaire taxe.
648
     *
649
     * @return float|null Returns the montant unitaire taxe.
650
     */
651
    public function getMontantUnitaireTaxe(): ?float{
652
        return $this->montantUnitaireTaxe;
653
    }
654
655
    /**
656
     * Get the mot cle dans pied.
657
     *
658
     * @return string|null Returns the mot cle dans pied.
659
     */
660
    public function getMotCleDansPied(): ?string{
661
        return $this->motCleDansPied;
662
    }
663
664
    /**
665
     * Get the no chrono preparation.
666
     *
667
     * @return int|null Returns the no chrono preparation.
668
     */
669
    public function getNoChronoPreparation(): ?int{
670
        return $this->noChronoPreparation;
671
    }
672
673
    /**
674
     * Get the no ligne ori.
675
     *
676
     * @return int|null Returns the no ligne ori.
677
     */
678
    public function getNoLigneOri(): ?int{
679
        return $this->noLigneOri;
680
    }
681
682
    /**
683
     * Get the no piece origine.
684
     *
685
     * @return string|null Returns the no piece origine.
686
     */
687
    public function getNoPieceOrigine(): ?string{
688
        return $this->noPieceOrigine;
689
    }
690
691
    /**
692
     * Get the numero bt.
693
     *
694
     * @return int|null Returns the numero bt.
695
     */
696
    public function getNumeroBt(): ?int{
697
        return $this->numeroBt;
698
    }
699
700
    /**
701
     * Get the numero facture.
702
     *
703
     * @return string|null Returns the numero facture.
704
     */
705
    public function getNumeroFacture(): ?string{
706
        return $this->numeroFacture;
707
    }
708
709
    /**
710
     * Get the numero ligne.
711
     *
712
     * @return int|null Returns the numero ligne.
713
     */
714
    public function getNumeroLigne(): ?int{
715
        return $this->numeroLigne;
716
    }
717
718
    /**
719
     * Get the periode preparation.
720
     *
721
     * @return DateTime|null Returns the periode preparation.
722
     */
723
    public function getPeriodePreparation(): ?DateTime{
724
        return $this->periodePreparation;
725
    }
726
727
    /**
728
     * Get the periode ventil marge.
729
     *
730
     * @return DateTime|null Returns the periode ventil marge.
731
     */
732
    public function getPeriodeVentilMarge(): ?DateTime{
733
        return $this->periodeVentilMarge;
734
    }
735
736
    /**
737
     * Get the poste rent.
738
     *
739
     * @return string|null Returns the poste rent.
740
     */
741
    public function getPosteRent(): ?string{
742
        return $this->posteRent;
743
    }
744
745
    /**
746
     * Get the prix achat.
747
     *
748
     * @return float|null Returns the prix achat.
749
     */
750
    public function getPrixAchat(): ?float{
751
        return $this->prixAchat;
752
    }
753
754
    /**
755
     * Get the prix achat bt.
756
     *
757
     * @return float|null Returns the prix achat bt.
758
     */
759
    public function getPrixAchatBt(): ?float{
760
        return $this->prixAchatBt;
761
    }
762
763
    /**
764
     * Get the prix unitaire.
765
     *
766
     * @return float|null Returns the prix unitaire.
767
     */
768
    public function getPrixUnitaire(): ?float{
769
        return $this->prixUnitaire;
770
    }
771
772
    /**
773
     * Get the prix unitaire pdf.
774
     *
775
     * @return float|null Returns the prix unitaire pdf.
776
     */
777
    public function getPrixUnitairePdf(): ?float{
778
        return $this->prixUnitairePdf;
779
    }
780
781
    /**
782
     * Get the px facture.
783
     *
784
     * @return bool|null Returns the px facture.
785
     */
786
    public function getPxFacture(): ?bool{
787
        return $this->pxFacture;
788
    }
789
790
    /**
791
     * Get the quantite.
792
     *
793
     * @return float|null Returns the quantite.
794
     */
795
    public function getQuantite(): ?float{
796
        return $this->quantite;
797
    }
798
799
    /**
800
     * Get the ref poste cde web ft.
801
     *
802
     * @return string|null Returns the ref poste cde web ft.
803
     */
804
    public function getRefPosteCdeWebFt(): ?string{
805
        return $this->refPosteCdeWebFt;
806
    }
807
808
    /**
809
     * Get the remise ligne1.
810
     *
811
     * @return float|null Returns the remise ligne1.
812
     */
813
    public function getRemiseLigne1(): ?float{
814
        return $this->remiseLigne1;
815
    }
816
817
    /**
818
     * Get the remise ligne2.
819
     *
820
     * @return float|null Returns the remise ligne2.
821
     */
822
    public function getRemiseLigne2(): ?float{
823
        return $this->remiseLigne2;
824
    }
825
826
    /**
827
     * Get the remise ligne3.
828
     *
829
     * @return float|null Returns the remise ligne3.
830
     */
831
    public function getRemiseLigne3(): ?float{
832
        return $this->remiseLigne3;
833
    }
834
835
    /**
836
     * Get the taux horaire bt.
837
     *
838
     * @return float|null Returns the taux horaire bt.
839
     */
840
    public function getTauxHoraireBt(): ?float{
841
        return $this->tauxHoraireBt;
842
    }
843
844
    /**
845
     * Get the taux tva article.
846
     *
847
     * @return float|null Returns the taux tva article.
848
     */
849
    public function getTauxTvaArticle(): ?float{
850
        return $this->tauxTvaArticle;
851
    }
852
853
    /**
854
     * Get the taux tva taxe.
855
     *
856
     * @return float|null Returns the taux tva taxe.
857
     */
858
    public function getTauxTvaTaxe(): ?float{
859
        return $this->tauxTvaTaxe;
860
    }
861
862
    /**
863
     * Get the type piece.
864
     *
865
     * @return string|null Returns the type piece.
866
     */
867
    public function getTypePiece(): ?string{
868
        return $this->typePiece;
869
    }
870
871
    /**
872
     * Get the ventil marge.
873
     *
874
     * @return bool|null Returns the ventil marge.
875
     */
876
    public function getVentilMarge(): ?bool{
877
        return $this->ventilMarge;
878
    }
879
880
    /**
881
     * Set the code affaire.
882
     *
883
     * @param string|null $codeAffaire The code affaire.
884
     * @return FacturesLignes Returns this Factures lignes.
885
     */
886
    public function setCodeAffaire(?string $codeAffaire): FacturesLignes {
887
        $this->codeAffaire = $codeAffaire;
888
        return $this;
889
    }
890
891
    /**
892
     * Set the code affaire ligne.
893
     *
894
     * @param string|null $codeAffaireLigne The code affaire ligne.
895
     * @return FacturesLignes Returns this Factures lignes.
896
     */
897
    public function setCodeAffaireLigne(?string $codeAffaireLigne): FacturesLignes {
898
        $this->codeAffaireLigne = $codeAffaireLigne;
899
        return $this;
900
    }
901
902
    /**
903
     * Set the code anal article.
904
     *
905
     * @param string|null $codeAnalArticle The code anal article.
906
     * @return FacturesLignes Returns this Factures lignes.
907
     */
908
    public function setCodeAnalArticle(?string $codeAnalArticle): FacturesLignes {
909
        $this->codeAnalArticle = $codeAnalArticle;
910
        return $this;
911
    }
912
913
    /**
914
     * Set the code article.
915
     *
916
     * @param string|null $codeArticle The code article.
917
     * @return FacturesLignes Returns this Factures lignes.
918
     */
919
    public function setCodeArticle(?string $codeArticle): FacturesLignes {
920
        $this->codeArticle = $codeArticle;
921
        return $this;
922
    }
923
924
    /**
925
     * Set the code chantier.
926
     *
927
     * @param string|null $codeChantier The code chantier.
928
     * @return FacturesLignes Returns this Factures lignes.
929
     */
930
    public function setCodeChantier(?string $codeChantier): FacturesLignes {
931
        $this->codeChantier = $codeChantier;
932
        return $this;
933
    }
934
935
    /**
936
     * Set the code chantier ligne.
937
     *
938
     * @param string|null $codeChantierLigne The code chantier ligne.
939
     * @return FacturesLignes Returns this Factures lignes.
940
     */
941
    public function setCodeChantierLigne(?string $codeChantierLigne): FacturesLignes {
942
        $this->codeChantierLigne = $codeChantierLigne;
943
        return $this;
944
    }
945
946
    /**
947
     * Set the code client.
948
     *
949
     * @param string|null $codeClient The code client.
950
     * @return FacturesLignes Returns this Factures lignes.
951
     */
952
    public function setCodeClient(?string $codeClient): FacturesLignes {
953
        $this->codeClient = $codeClient;
954
        return $this;
955
    }
956
957
    /**
958
     * Set the code regroupement.
959
     *
960
     * @param string|null $codeRegroupement The code regroupement.
961
     * @return FacturesLignes Returns this Factures lignes.
962
     */
963
    public function setCodeRegroupement(?string $codeRegroupement): FacturesLignes {
964
        $this->codeRegroupement = $codeRegroupement;
965
        return $this;
966
    }
967
968
    /**
969
     * Set the code tva article.
970
     *
971
     * @param string|null $codeTvaArticle The code tva article.
972
     * @return FacturesLignes Returns this Factures lignes.
973
     */
974
    public function setCodeTvaArticle(?string $codeTvaArticle): FacturesLignes {
975
        $this->codeTvaArticle = $codeTvaArticle;
976
        return $this;
977
    }
978
979
    /**
980
     * Set the code unite.
981
     *
982
     * @param string|null $codeUnite The code unite.
983
     * @return FacturesLignes Returns this Factures lignes.
984
     */
985
    public function setCodeUnite(?string $codeUnite): FacturesLignes {
986
        $this->codeUnite = $codeUnite;
987
        return $this;
988
    }
989
990
    /**
991
     * Set the code ventil article.
992
     *
993
     * @param string|null $codeVentilArticle The code ventil article.
994
     * @return FacturesLignes Returns this Factures lignes.
995
     */
996
    public function setCodeVentilArticle(?string $codeVentilArticle): FacturesLignes {
997
        $this->codeVentilArticle = $codeVentilArticle;
998
        return $this;
999
    }
1000
1001
    /**
1002
     * Set the coefficient bt.
1003
     *
1004
     * @param float|null $coefficientBt The coefficient bt.
1005
     * @return FacturesLignes Returns this Factures lignes.
1006
     */
1007
    public function setCoefficientBt(?float $coefficientBt): FacturesLignes {
1008
        $this->coefficientBt = $coefficientBt;
1009
        return $this;
1010
    }
1011
1012
    /**
1013
     * Set the date bt.
1014
     *
1015
     * @param DateTime|null $dateBt The date bt.
1016
     * @return FacturesLignes Returns this Factures lignes.
1017
     */
1018
    public function setDateBt(?DateTime $dateBt): FacturesLignes {
1019
        $this->dateBt = $dateBt;
1020
        return $this;
1021
    }
1022
1023
    /**
1024
     * Set the date preparation.
1025
     *
1026
     * @param DateTime|null $datePreparation The date preparation.
1027
     * @return FacturesLignes Returns this Factures lignes.
1028
     */
1029
    public function setDatePreparation(?DateTime $datePreparation): FacturesLignes {
1030
        $this->datePreparation = $datePreparation;
1031
        return $this;
1032
    }
1033
1034
    /**
1035
     * Set the depuis deb fac.
1036
     *
1037
     * @param bool|null $depuisDebFac The depuis deb fac.
1038
     * @return FacturesLignes Returns this Factures lignes.
1039
     */
1040
    public function setDepuisDebFac(?bool $depuisDebFac): FacturesLignes {
1041
        $this->depuisDebFac = $depuisDebFac;
1042
        return $this;
1043
    }
1044
1045
    /**
1046
     * Set the designation.
1047
     *
1048
     * @param string|null $designation The designation.
1049
     * @return FacturesLignes Returns this Factures lignes.
1050
     */
1051
    public function setDesignation(?string $designation): FacturesLignes {
1052
        $this->designation = $designation;
1053
        return $this;
1054
    }
1055
1056
    /**
1057
     * Set the designation2.
1058
     *
1059
     * @param string|null $designation2 The designation2.
1060
     * @return FacturesLignes Returns this Factures lignes.
1061
     */
1062
    public function setDesignation2(?string $designation2): FacturesLignes {
1063
        $this->designation2 = $designation2;
1064
        return $this;
1065
    }
1066
1067
    /**
1068
     * Set the designation3.
1069
     *
1070
     * @param string|null $designation3 The designation3.
1071
     * @return FacturesLignes Returns this Factures lignes.
1072
     */
1073
    public function setDesignation3(?string $designation3): FacturesLignes {
1074
        $this->designation3 = $designation3;
1075
        return $this;
1076
    }
1077
1078
    /**
1079
     * Set the designation bis.
1080
     *
1081
     * @param string|null $designationBis The designation bis.
1082
     * @return FacturesLignes Returns this Factures lignes.
1083
     */
1084
    public function setDesignationBis(?string $designationBis): FacturesLignes {
1085
        $this->designationBis = $designationBis;
1086
        return $this;
1087
    }
1088
1089
    /**
1090
     * Set the designation bis2.
1091
     *
1092
     * @param string|null $designationBis2 The designation bis2.
1093
     * @return FacturesLignes Returns this Factures lignes.
1094
     */
1095
    public function setDesignationBis2(?string $designationBis2): FacturesLignes {
1096
        $this->designationBis2 = $designationBis2;
1097
        return $this;
1098
    }
1099
1100
    /**
1101
     * Set the designation bis3.
1102
     *
1103
     * @param string|null $designationBis3 The designation bis3.
1104
     * @return FacturesLignes Returns this Factures lignes.
1105
     */
1106
    public function setDesignationBis3(?string $designationBis3): FacturesLignes {
1107
        $this->designationBis3 = $designationBis3;
1108
        return $this;
1109
    }
1110
1111
    /**
1112
     * Set the designation rtf.
1113
     *
1114
     * @param string|null $designationRtf The designation rtf.
1115
     * @return FacturesLignes Returns this Factures lignes.
1116
     */
1117
    public function setDesignationRtf(?string $designationRtf): FacturesLignes {
1118
        $this->designationRtf = $designationRtf;
1119
        return $this;
1120
    }
1121
1122
    /**
1123
     * Set the duree bt.
1124
     *
1125
     * @param float|null $dureeBt The duree bt.
1126
     * @return FacturesLignes Returns this Factures lignes.
1127
     */
1128
    public function setDureeBt(?float $dureeBt): FacturesLignes {
1129
        $this->dureeBt = $dureeBt;
1130
        return $this;
1131
    }
1132
1133
    /**
1134
     * Set the from pointage bt.
1135
     *
1136
     * @param bool|null $fromPointageBt The from pointage bt.
1137
     * @return FacturesLignes Returns this Factures lignes.
1138
     */
1139
    public function setFromPointageBt(?bool $fromPointageBt): FacturesLignes {
1140
        $this->fromPointageBt = $fromPointageBt;
1141
        return $this;
1142
    }
1143
1144
    /**
1145
     * Set the heures prev.
1146
     *
1147
     * @param float|null $heuresPrev The heures prev.
1148
     * @return FacturesLignes Returns this Factures lignes.
1149
     */
1150
    public function setHeuresPrev(?float $heuresPrev): FacturesLignes {
1151
        $this->heuresPrev = $heuresPrev;
1152
        return $this;
1153
    }
1154
1155
    /**
1156
     * Set the heures reel.
1157
     *
1158
     * @param float|null $heuresReel The heures reel.
1159
     * @return FacturesLignes Returns this Factures lignes.
1160
     */
1161
    public function setHeuresReel(?float $heuresReel): FacturesLignes {
1162
        $this->heuresReel = $heuresReel;
1163
        return $this;
1164
    }
1165
1166
    /**
1167
     * Set the imprimer dans pied.
1168
     *
1169
     * @param bool|null $imprimerDansPied The imprimer dans pied.
1170
     * @return FacturesLignes Returns this Factures lignes.
1171
     */
1172
    public function setImprimerDansPied(?bool $imprimerDansPied): FacturesLignes {
1173
        $this->imprimerDansPied = $imprimerDansPied;
1174
        return $this;
1175
    }
1176
1177
    /**
1178
     * Set the montant unitaire taxe.
1179
     *
1180
     * @param float|null $montantUnitaireTaxe The montant unitaire taxe.
1181
     * @return FacturesLignes Returns this Factures lignes.
1182
     */
1183
    public function setMontantUnitaireTaxe(?float $montantUnitaireTaxe): FacturesLignes {
1184
        $this->montantUnitaireTaxe = $montantUnitaireTaxe;
1185
        return $this;
1186
    }
1187
1188
    /**
1189
     * Set the mot cle dans pied.
1190
     *
1191
     * @param string|null $motCleDansPied The mot cle dans pied.
1192
     * @return FacturesLignes Returns this Factures lignes.
1193
     */
1194
    public function setMotCleDansPied(?string $motCleDansPied): FacturesLignes {
1195
        $this->motCleDansPied = $motCleDansPied;
1196
        return $this;
1197
    }
1198
1199
    /**
1200
     * Set the no chrono preparation.
1201
     *
1202
     * @param int|null $noChronoPreparation The no chrono preparation.
1203
     * @return FacturesLignes Returns this Factures lignes.
1204
     */
1205
    public function setNoChronoPreparation(?int $noChronoPreparation): FacturesLignes {
1206
        $this->noChronoPreparation = $noChronoPreparation;
1207
        return $this;
1208
    }
1209
1210
    /**
1211
     * Set the no ligne ori.
1212
     *
1213
     * @param int|null $noLigneOri The no ligne ori.
1214
     * @return FacturesLignes Returns this Factures lignes.
1215
     */
1216
    public function setNoLigneOri(?int $noLigneOri): FacturesLignes {
1217
        $this->noLigneOri = $noLigneOri;
1218
        return $this;
1219
    }
1220
1221
    /**
1222
     * Set the no piece origine.
1223
     *
1224
     * @param string|null $noPieceOrigine The no piece origine.
1225
     * @return FacturesLignes Returns this Factures lignes.
1226
     */
1227
    public function setNoPieceOrigine(?string $noPieceOrigine): FacturesLignes {
1228
        $this->noPieceOrigine = $noPieceOrigine;
1229
        return $this;
1230
    }
1231
1232
    /**
1233
     * Set the numero bt.
1234
     *
1235
     * @param int|null $numeroBt The numero bt.
1236
     * @return FacturesLignes Returns this Factures lignes.
1237
     */
1238
    public function setNumeroBt(?int $numeroBt): FacturesLignes {
1239
        $this->numeroBt = $numeroBt;
1240
        return $this;
1241
    }
1242
1243
    /**
1244
     * Set the numero facture.
1245
     *
1246
     * @param string|null $numeroFacture The numero facture.
1247
     * @return FacturesLignes Returns this Factures lignes.
1248
     */
1249
    public function setNumeroFacture(?string $numeroFacture): FacturesLignes {
1250
        $this->numeroFacture = $numeroFacture;
1251
        return $this;
1252
    }
1253
1254
    /**
1255
     * Set the numero ligne.
1256
     *
1257
     * @param int|null $numeroLigne The numero ligne.
1258
     * @return FacturesLignes Returns this Factures lignes.
1259
     */
1260
    public function setNumeroLigne(?int $numeroLigne): FacturesLignes {
1261
        $this->numeroLigne = $numeroLigne;
1262
        return $this;
1263
    }
1264
1265
    /**
1266
     * Set the periode preparation.
1267
     *
1268
     * @param DateTime|null $periodePreparation The periode preparation.
1269
     * @return FacturesLignes Returns this Factures lignes.
1270
     */
1271
    public function setPeriodePreparation(?DateTime $periodePreparation): FacturesLignes {
1272
        $this->periodePreparation = $periodePreparation;
1273
        return $this;
1274
    }
1275
1276
    /**
1277
     * Set the periode ventil marge.
1278
     *
1279
     * @param DateTime|null $periodeVentilMarge The periode ventil marge.
1280
     * @return FacturesLignes Returns this Factures lignes.
1281
     */
1282
    public function setPeriodeVentilMarge(?DateTime $periodeVentilMarge): FacturesLignes {
1283
        $this->periodeVentilMarge = $periodeVentilMarge;
1284
        return $this;
1285
    }
1286
1287
    /**
1288
     * Set the poste rent.
1289
     *
1290
     * @param string|null $posteRent The poste rent.
1291
     * @return FacturesLignes Returns this Factures lignes.
1292
     */
1293
    public function setPosteRent(?string $posteRent): FacturesLignes {
1294
        $this->posteRent = $posteRent;
1295
        return $this;
1296
    }
1297
1298
    /**
1299
     * Set the prix achat.
1300
     *
1301
     * @param float|null $prixAchat The prix achat.
1302
     * @return FacturesLignes Returns this Factures lignes.
1303
     */
1304
    public function setPrixAchat(?float $prixAchat): FacturesLignes {
1305
        $this->prixAchat = $prixAchat;
1306
        return $this;
1307
    }
1308
1309
    /**
1310
     * Set the prix achat bt.
1311
     *
1312
     * @param float|null $prixAchatBt The prix achat bt.
1313
     * @return FacturesLignes Returns this Factures lignes.
1314
     */
1315
    public function setPrixAchatBt(?float $prixAchatBt): FacturesLignes {
1316
        $this->prixAchatBt = $prixAchatBt;
1317
        return $this;
1318
    }
1319
1320
    /**
1321
     * Set the prix unitaire.
1322
     *
1323
     * @param float|null $prixUnitaire The prix unitaire.
1324
     * @return FacturesLignes Returns this Factures lignes.
1325
     */
1326
    public function setPrixUnitaire(?float $prixUnitaire): FacturesLignes {
1327
        $this->prixUnitaire = $prixUnitaire;
1328
        return $this;
1329
    }
1330
1331
    /**
1332
     * Set the prix unitaire pdf.
1333
     *
1334
     * @param float|null $prixUnitairePdf The prix unitaire pdf.
1335
     * @return FacturesLignes Returns this Factures lignes.
1336
     */
1337
    public function setPrixUnitairePdf(?float $prixUnitairePdf): FacturesLignes {
1338
        $this->prixUnitairePdf = $prixUnitairePdf;
1339
        return $this;
1340
    }
1341
1342
    /**
1343
     * Set the px facture.
1344
     *
1345
     * @param bool|null $pxFacture The px facture.
1346
     * @return FacturesLignes Returns this Factures lignes.
1347
     */
1348
    public function setPxFacture(?bool $pxFacture): FacturesLignes {
1349
        $this->pxFacture = $pxFacture;
1350
        return $this;
1351
    }
1352
1353
    /**
1354
     * Set the quantite.
1355
     *
1356
     * @param float|null $quantite The quantite.
1357
     * @return FacturesLignes Returns this Factures lignes.
1358
     */
1359
    public function setQuantite(?float $quantite): FacturesLignes {
1360
        $this->quantite = $quantite;
1361
        return $this;
1362
    }
1363
1364
    /**
1365
     * Set the ref poste cde web ft.
1366
     *
1367
     * @param string|null $refPosteCdeWebFt The ref poste cde web ft.
1368
     * @return FacturesLignes Returns this Factures lignes.
1369
     */
1370
    public function setRefPosteCdeWebFt(?string $refPosteCdeWebFt): FacturesLignes {
1371
        $this->refPosteCdeWebFt = $refPosteCdeWebFt;
1372
        return $this;
1373
    }
1374
1375
    /**
1376
     * Set the remise ligne1.
1377
     *
1378
     * @param float|null $remiseLigne1 The remise ligne1.
1379
     * @return FacturesLignes Returns this Factures lignes.
1380
     */
1381
    public function setRemiseLigne1(?float $remiseLigne1): FacturesLignes {
1382
        $this->remiseLigne1 = $remiseLigne1;
1383
        return $this;
1384
    }
1385
1386
    /**
1387
     * Set the remise ligne2.
1388
     *
1389
     * @param float|null $remiseLigne2 The remise ligne2.
1390
     * @return FacturesLignes Returns this Factures lignes.
1391
     */
1392
    public function setRemiseLigne2(?float $remiseLigne2): FacturesLignes {
1393
        $this->remiseLigne2 = $remiseLigne2;
1394
        return $this;
1395
    }
1396
1397
    /**
1398
     * Set the remise ligne3.
1399
     *
1400
     * @param float|null $remiseLigne3 The remise ligne3.
1401
     * @return FacturesLignes Returns this Factures lignes.
1402
     */
1403
    public function setRemiseLigne3(?float $remiseLigne3): FacturesLignes {
1404
        $this->remiseLigne3 = $remiseLigne3;
1405
        return $this;
1406
    }
1407
1408
    /**
1409
     * Set the taux horaire bt.
1410
     *
1411
     * @param float|null $tauxHoraireBt The taux horaire bt.
1412
     * @return FacturesLignes Returns this Factures lignes.
1413
     */
1414
    public function setTauxHoraireBt(?float $tauxHoraireBt): FacturesLignes {
1415
        $this->tauxHoraireBt = $tauxHoraireBt;
1416
        return $this;
1417
    }
1418
1419
    /**
1420
     * Set the taux tva article.
1421
     *
1422
     * @param float|null $tauxTvaArticle The taux tva article.
1423
     * @return FacturesLignes Returns this Factures lignes.
1424
     */
1425
    public function setTauxTvaArticle(?float $tauxTvaArticle): FacturesLignes {
1426
        $this->tauxTvaArticle = $tauxTvaArticle;
1427
        return $this;
1428
    }
1429
1430
    /**
1431
     * Set the taux tva taxe.
1432
     *
1433
     * @param float|null $tauxTvaTaxe The taux tva taxe.
1434
     * @return FacturesLignes Returns this Factures lignes.
1435
     */
1436
    public function setTauxTvaTaxe(?float $tauxTvaTaxe): FacturesLignes {
1437
        $this->tauxTvaTaxe = $tauxTvaTaxe;
1438
        return $this;
1439
    }
1440
1441
    /**
1442
     * Set the type piece.
1443
     *
1444
     * @param string|null $typePiece The type piece.
1445
     * @return FacturesLignes Returns this Factures lignes.
1446
     */
1447
    public function setTypePiece(?string $typePiece): FacturesLignes {
1448
        $this->typePiece = $typePiece;
1449
        return $this;
1450
    }
1451
1452
    /**
1453
     * Set the ventil marge.
1454
     *
1455
     * @param bool|null $ventilMarge The ventil marge.
1456
     * @return FacturesLignes Returns this Factures lignes.
1457
     */
1458
    public function setVentilMarge(?bool $ventilMarge): FacturesLignes {
1459
        $this->ventilMarge = $ventilMarge;
1460
        return $this;
1461
    }
1462
}
1463