Complex classes like CdeFournisseurMensu 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 CdeFournisseurMensu, and based on these observations, apply Extract Interface, too.
1 | <?php |
||
22 | class CdeFournisseurMensu { |
||
23 | |||
24 | /** |
||
25 | * Code affaire. |
||
26 | * |
||
27 | * @var string|null |
||
28 | */ |
||
29 | private $codeAffaire; |
||
30 | |||
31 | /** |
||
32 | * Code article. |
||
33 | * |
||
34 | * @var string|null |
||
35 | */ |
||
36 | private $codeArticle; |
||
37 | |||
38 | /** |
||
39 | * Code chantier. |
||
40 | * |
||
41 | * @var string|null |
||
42 | */ |
||
43 | private $codeChantier; |
||
44 | |||
45 | /** |
||
46 | * Code client. |
||
47 | * |
||
48 | * @var string|null |
||
49 | */ |
||
50 | private $codeClient; |
||
51 | |||
52 | /** |
||
53 | * Code collaborateur. |
||
54 | * |
||
55 | * @var string|null |
||
56 | */ |
||
57 | private $codeCollaborateur; |
||
58 | |||
59 | /** |
||
60 | * Code fournisseur. |
||
61 | * |
||
62 | * @var string|null |
||
63 | */ |
||
64 | private $codeFournisseur; |
||
65 | |||
66 | /** |
||
67 | * Code inspecteur. |
||
68 | * |
||
69 | * @var string|null |
||
70 | */ |
||
71 | private $codeInspecteur; |
||
72 | |||
73 | /** |
||
74 | * Code livraison. |
||
75 | * |
||
76 | * @var string|null |
||
77 | */ |
||
78 | private $codeLivraison; |
||
79 | |||
80 | /** |
||
81 | * Code livreur. |
||
82 | * |
||
83 | * @var string|null |
||
84 | */ |
||
85 | private $codeLivreur; |
||
86 | |||
87 | /** |
||
88 | * Commande isolee. |
||
89 | * |
||
90 | * @var bool|null |
||
91 | */ |
||
92 | private $commandeIsolee; |
||
93 | |||
94 | /** |
||
95 | * Critere texte1. |
||
96 | * |
||
97 | * @var string|null |
||
98 | */ |
||
99 | private $critereTexte1; |
||
100 | |||
101 | /** |
||
102 | * Date livraison. |
||
103 | * |
||
104 | * @var DateTime|null |
||
105 | */ |
||
106 | private $dateLivraison; |
||
107 | |||
108 | /** |
||
109 | * Date transfert. |
||
110 | * |
||
111 | * @var DateTime|null |
||
112 | */ |
||
113 | private $dateTransfert; |
||
114 | |||
115 | /** |
||
116 | * Designation. |
||
117 | * |
||
118 | * @var string|null |
||
119 | */ |
||
120 | private $designation; |
||
121 | |||
122 | /** |
||
123 | * Designation2. |
||
124 | * |
||
125 | * @var string|null |
||
126 | */ |
||
127 | private $designation2; |
||
128 | |||
129 | /** |
||
130 | * Designation3. |
||
131 | * |
||
132 | * @var string|null |
||
133 | */ |
||
134 | private $designation3; |
||
135 | |||
136 | /** |
||
137 | * From cde type. |
||
138 | * |
||
139 | * @var bool|null |
||
140 | */ |
||
141 | private $fromCdeType; |
||
142 | |||
143 | /** |
||
144 | * Maj stock by da. |
||
145 | * |
||
146 | * @var bool|null |
||
147 | */ |
||
148 | private $majStockByDa; |
||
149 | |||
150 | /** |
||
151 | * No bon int. |
||
152 | * |
||
153 | * @var string|null |
||
154 | */ |
||
155 | private $noBonInt; |
||
156 | |||
157 | /** |
||
158 | * No piece cde. |
||
159 | * |
||
160 | * @var string|null |
||
161 | */ |
||
162 | private $noPieceCde; |
||
163 | |||
164 | /** |
||
165 | * No piece cde cli. |
||
166 | * |
||
167 | * @var string|null |
||
168 | */ |
||
169 | private $noPieceCdeCli; |
||
170 | |||
171 | /** |
||
172 | * Numero bs genere. |
||
173 | * |
||
174 | * @var string|null |
||
175 | */ |
||
176 | private $numeroBsGenere; |
||
177 | |||
178 | /** |
||
179 | * Numero ligne. |
||
180 | * |
||
181 | * @var int|null |
||
182 | */ |
||
183 | private $numeroLigne; |
||
184 | |||
185 | /** |
||
186 | * Pu brut. |
||
187 | * |
||
188 | * @var float|null |
||
189 | */ |
||
190 | private $puBrut; |
||
191 | |||
192 | /** |
||
193 | * Periode. |
||
194 | * |
||
195 | * @var DateTime|null |
||
196 | */ |
||
197 | private $periode; |
||
198 | |||
199 | /** |
||
200 | * Poste rent. |
||
201 | * |
||
202 | * @var string|null |
||
203 | */ |
||
204 | private $posteRent; |
||
205 | |||
206 | /** |
||
207 | * Prix saisi. |
||
208 | * |
||
209 | * @var bool|null |
||
210 | */ |
||
211 | private $prixSaisi; |
||
212 | |||
213 | /** |
||
214 | * Quantite. |
||
215 | * |
||
216 | * @var float|null |
||
217 | */ |
||
218 | private $quantite; |
||
219 | |||
220 | /** |
||
221 | * Quantite bs. |
||
222 | * |
||
223 | * @var float|null |
||
224 | */ |
||
225 | private $quantiteBs; |
||
226 | |||
227 | /** |
||
228 | * Quantite cde. |
||
229 | * |
||
230 | * @var float|null |
||
231 | */ |
||
232 | private $quantiteCde; |
||
233 | |||
234 | /** |
||
235 | * Quantite cde cli. |
||
236 | * |
||
237 | * @var float|null |
||
238 | */ |
||
239 | private $quantiteCdeCli; |
||
240 | |||
241 | /** |
||
242 | * Quantite liv. |
||
243 | * |
||
244 | * @var float|null |
||
245 | */ |
||
246 | private $quantiteLiv; |
||
247 | |||
248 | /** |
||
249 | * Remise1. |
||
250 | * |
||
251 | * @var float|null |
||
252 | */ |
||
253 | private $remise1; |
||
254 | |||
255 | /** |
||
256 | * Remise2. |
||
257 | * |
||
258 | * @var float|null |
||
259 | */ |
||
260 | private $remise2; |
||
261 | |||
262 | /** |
||
263 | * Remise3. |
||
264 | * |
||
265 | * @var float|null |
||
266 | */ |
||
267 | private $remise3; |
||
268 | |||
269 | /** |
||
270 | * Type gestion. |
||
271 | * |
||
272 | * @var string|null |
||
273 | */ |
||
274 | private $typeGestion; |
||
275 | |||
276 | /** |
||
277 | * Type piece. |
||
278 | * |
||
279 | * @var string|null |
||
280 | */ |
||
281 | private $typePiece; |
||
282 | |||
283 | /** |
||
284 | * Uniq id blocage. |
||
285 | * |
||
286 | * @var string|null |
||
287 | */ |
||
288 | private $uniqIdBlocage; |
||
289 | |||
290 | /** |
||
291 | * Validee. |
||
292 | * |
||
293 | * @var bool|null |
||
294 | */ |
||
295 | private $validee; |
||
296 | |||
297 | |||
298 | /** |
||
299 | * Constructor. |
||
300 | */ |
||
301 | public function __construct() { |
||
304 | |||
305 | /** |
||
306 | * Get the code affaire. |
||
307 | * |
||
308 | * @return string|null Returns the code affaire. |
||
309 | */ |
||
310 | public function getCodeAffaire(): ?string{ |
||
313 | |||
314 | /** |
||
315 | * Get the code article. |
||
316 | * |
||
317 | * @return string|null Returns the code article. |
||
318 | */ |
||
319 | public function getCodeArticle(): ?string{ |
||
322 | |||
323 | /** |
||
324 | * Get the code chantier. |
||
325 | * |
||
326 | * @return string|null Returns the code chantier. |
||
327 | */ |
||
328 | public function getCodeChantier(): ?string{ |
||
331 | |||
332 | /** |
||
333 | * Get the code client. |
||
334 | * |
||
335 | * @return string|null Returns the code client. |
||
336 | */ |
||
337 | public function getCodeClient(): ?string{ |
||
340 | |||
341 | /** |
||
342 | * Get the code collaborateur. |
||
343 | * |
||
344 | * @return string|null Returns the code collaborateur. |
||
345 | */ |
||
346 | public function getCodeCollaborateur(): ?string{ |
||
349 | |||
350 | /** |
||
351 | * Get the code fournisseur. |
||
352 | * |
||
353 | * @return string|null Returns the code fournisseur. |
||
354 | */ |
||
355 | public function getCodeFournisseur(): ?string{ |
||
358 | |||
359 | /** |
||
360 | * Get the code inspecteur. |
||
361 | * |
||
362 | * @return string|null Returns the code inspecteur. |
||
363 | */ |
||
364 | public function getCodeInspecteur(): ?string{ |
||
367 | |||
368 | /** |
||
369 | * Get the code livraison. |
||
370 | * |
||
371 | * @return string|null Returns the code livraison. |
||
372 | */ |
||
373 | public function getCodeLivraison(): ?string{ |
||
376 | |||
377 | /** |
||
378 | * Get the code livreur. |
||
379 | * |
||
380 | * @return string|null Returns the code livreur. |
||
381 | */ |
||
382 | public function getCodeLivreur(): ?string{ |
||
385 | |||
386 | /** |
||
387 | * Get the commande isolee. |
||
388 | * |
||
389 | * @return bool|null Returns the commande isolee. |
||
390 | */ |
||
391 | public function getCommandeIsolee(): ?bool{ |
||
394 | |||
395 | /** |
||
396 | * Get the critere texte1. |
||
397 | * |
||
398 | * @return string|null Returns the critere texte1. |
||
399 | */ |
||
400 | public function getCritereTexte1(): ?string{ |
||
403 | |||
404 | /** |
||
405 | * Get the date livraison. |
||
406 | * |
||
407 | * @return DateTime|null Returns the date livraison. |
||
408 | */ |
||
409 | public function getDateLivraison(): ?DateTime{ |
||
412 | |||
413 | /** |
||
414 | * Get the date transfert. |
||
415 | * |
||
416 | * @return DateTime|null Returns the date transfert. |
||
417 | */ |
||
418 | public function getDateTransfert(): ?DateTime{ |
||
421 | |||
422 | /** |
||
423 | * Get the designation. |
||
424 | * |
||
425 | * @return string|null Returns the designation. |
||
426 | */ |
||
427 | public function getDesignation(): ?string{ |
||
430 | |||
431 | /** |
||
432 | * Get the designation2. |
||
433 | * |
||
434 | * @return string|null Returns the designation2. |
||
435 | */ |
||
436 | public function getDesignation2(): ?string{ |
||
439 | |||
440 | /** |
||
441 | * Get the designation3. |
||
442 | * |
||
443 | * @return string|null Returns the designation3. |
||
444 | */ |
||
445 | public function getDesignation3(): ?string{ |
||
448 | |||
449 | /** |
||
450 | * Get the from cde type. |
||
451 | * |
||
452 | * @return bool|null Returns the from cde type. |
||
453 | */ |
||
454 | public function getFromCdeType(): ?bool{ |
||
457 | |||
458 | /** |
||
459 | * Get the maj stock by da. |
||
460 | * |
||
461 | * @return bool|null Returns the maj stock by da. |
||
462 | */ |
||
463 | public function getMajStockByDa(): ?bool{ |
||
466 | |||
467 | /** |
||
468 | * Get the no bon int. |
||
469 | * |
||
470 | * @return string|null Returns the no bon int. |
||
471 | */ |
||
472 | public function getNoBonInt(): ?string{ |
||
475 | |||
476 | /** |
||
477 | * Get the no piece cde. |
||
478 | * |
||
479 | * @return string|null Returns the no piece cde. |
||
480 | */ |
||
481 | public function getNoPieceCde(): ?string{ |
||
484 | |||
485 | /** |
||
486 | * Get the no piece cde cli. |
||
487 | * |
||
488 | * @return string|null Returns the no piece cde cli. |
||
489 | */ |
||
490 | public function getNoPieceCdeCli(): ?string{ |
||
493 | |||
494 | /** |
||
495 | * Get the numero bs genere. |
||
496 | * |
||
497 | * @return string|null Returns the numero bs genere. |
||
498 | */ |
||
499 | public function getNumeroBsGenere(): ?string{ |
||
502 | |||
503 | /** |
||
504 | * Get the numero ligne. |
||
505 | * |
||
506 | * @return int|null Returns the numero ligne. |
||
507 | */ |
||
508 | public function getNumeroLigne(): ?int{ |
||
511 | |||
512 | /** |
||
513 | * Get the pu brut. |
||
514 | * |
||
515 | * @return float|null Returns the pu brut. |
||
516 | */ |
||
517 | public function getPuBrut(): ?float{ |
||
520 | |||
521 | /** |
||
522 | * Get the periode. |
||
523 | * |
||
524 | * @return DateTime|null Returns the periode. |
||
525 | */ |
||
526 | public function getPeriode(): ?DateTime{ |
||
529 | |||
530 | /** |
||
531 | * Get the poste rent. |
||
532 | * |
||
533 | * @return string|null Returns the poste rent. |
||
534 | */ |
||
535 | public function getPosteRent(): ?string{ |
||
538 | |||
539 | /** |
||
540 | * Get the prix saisi. |
||
541 | * |
||
542 | * @return bool|null Returns the prix saisi. |
||
543 | */ |
||
544 | public function getPrixSaisi(): ?bool{ |
||
547 | |||
548 | /** |
||
549 | * Get the quantite. |
||
550 | * |
||
551 | * @return float|null Returns the quantite. |
||
552 | */ |
||
553 | public function getQuantite(): ?float{ |
||
556 | |||
557 | /** |
||
558 | * Get the quantite bs. |
||
559 | * |
||
560 | * @return float|null Returns the quantite bs. |
||
561 | */ |
||
562 | public function getQuantiteBs(): ?float{ |
||
565 | |||
566 | /** |
||
567 | * Get the quantite cde. |
||
568 | * |
||
569 | * @return float|null Returns the quantite cde. |
||
570 | */ |
||
571 | public function getQuantiteCde(): ?float{ |
||
574 | |||
575 | /** |
||
576 | * Get the quantite cde cli. |
||
577 | * |
||
578 | * @return float|null Returns the quantite cde cli. |
||
579 | */ |
||
580 | public function getQuantiteCdeCli(): ?float{ |
||
583 | |||
584 | /** |
||
585 | * Get the quantite liv. |
||
586 | * |
||
587 | * @return float|null Returns the quantite liv. |
||
588 | */ |
||
589 | public function getQuantiteLiv(): ?float{ |
||
592 | |||
593 | /** |
||
594 | * Get the remise1. |
||
595 | * |
||
596 | * @return float|null Returns the remise1. |
||
597 | */ |
||
598 | public function getRemise1(): ?float{ |
||
601 | |||
602 | /** |
||
603 | * Get the remise2. |
||
604 | * |
||
605 | * @return float|null Returns the remise2. |
||
606 | */ |
||
607 | public function getRemise2(): ?float{ |
||
610 | |||
611 | /** |
||
612 | * Get the remise3. |
||
613 | * |
||
614 | * @return float|null Returns the remise3. |
||
615 | */ |
||
616 | public function getRemise3(): ?float{ |
||
619 | |||
620 | /** |
||
621 | * Get the type gestion. |
||
622 | * |
||
623 | * @return string|null Returns the type gestion. |
||
624 | */ |
||
625 | public function getTypeGestion(): ?string{ |
||
628 | |||
629 | /** |
||
630 | * Get the type piece. |
||
631 | * |
||
632 | * @return string|null Returns the type piece. |
||
633 | */ |
||
634 | public function getTypePiece(): ?string{ |
||
637 | |||
638 | /** |
||
639 | * Get the uniq id blocage. |
||
640 | * |
||
641 | * @return string|null Returns the uniq id blocage. |
||
642 | */ |
||
643 | public function getUniqIdBlocage(): ?string{ |
||
646 | |||
647 | /** |
||
648 | * Get the validee. |
||
649 | * |
||
650 | * @return bool|null Returns the validee. |
||
651 | */ |
||
652 | public function getValidee(): ?bool{ |
||
655 | |||
656 | /** |
||
657 | * Set the code affaire. |
||
658 | * |
||
659 | * @param string|null $codeAffaire The code affaire. |
||
660 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
661 | */ |
||
662 | public function setCodeAffaire(?string $codeAffaire): CdeFournisseurMensu { |
||
666 | |||
667 | /** |
||
668 | * Set the code article. |
||
669 | * |
||
670 | * @param string|null $codeArticle The code article. |
||
671 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
672 | */ |
||
673 | public function setCodeArticle(?string $codeArticle): CdeFournisseurMensu { |
||
677 | |||
678 | /** |
||
679 | * Set the code chantier. |
||
680 | * |
||
681 | * @param string|null $codeChantier The code chantier. |
||
682 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
683 | */ |
||
684 | public function setCodeChantier(?string $codeChantier): CdeFournisseurMensu { |
||
688 | |||
689 | /** |
||
690 | * Set the code client. |
||
691 | * |
||
692 | * @param string|null $codeClient The code client. |
||
693 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
694 | */ |
||
695 | public function setCodeClient(?string $codeClient): CdeFournisseurMensu { |
||
699 | |||
700 | /** |
||
701 | * Set the code collaborateur. |
||
702 | * |
||
703 | * @param string|null $codeCollaborateur The code collaborateur. |
||
704 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
705 | */ |
||
706 | public function setCodeCollaborateur(?string $codeCollaborateur): CdeFournisseurMensu { |
||
710 | |||
711 | /** |
||
712 | * Set the code fournisseur. |
||
713 | * |
||
714 | * @param string|null $codeFournisseur The code fournisseur. |
||
715 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
716 | */ |
||
717 | public function setCodeFournisseur(?string $codeFournisseur): CdeFournisseurMensu { |
||
721 | |||
722 | /** |
||
723 | * Set the code inspecteur. |
||
724 | * |
||
725 | * @param string|null $codeInspecteur The code inspecteur. |
||
726 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
727 | */ |
||
728 | public function setCodeInspecteur(?string $codeInspecteur): CdeFournisseurMensu { |
||
732 | |||
733 | /** |
||
734 | * Set the code livraison. |
||
735 | * |
||
736 | * @param string|null $codeLivraison The code livraison. |
||
737 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
738 | */ |
||
739 | public function setCodeLivraison(?string $codeLivraison): CdeFournisseurMensu { |
||
743 | |||
744 | /** |
||
745 | * Set the code livreur. |
||
746 | * |
||
747 | * @param string|null $codeLivreur The code livreur. |
||
748 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
749 | */ |
||
750 | public function setCodeLivreur(?string $codeLivreur): CdeFournisseurMensu { |
||
754 | |||
755 | /** |
||
756 | * Set the commande isolee. |
||
757 | * |
||
758 | * @param bool|null $commandeIsolee The commande isolee. |
||
759 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
760 | */ |
||
761 | public function setCommandeIsolee(?bool $commandeIsolee): CdeFournisseurMensu { |
||
765 | |||
766 | /** |
||
767 | * Set the critere texte1. |
||
768 | * |
||
769 | * @param string|null $critereTexte1 The critere texte1. |
||
770 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
771 | */ |
||
772 | public function setCritereTexte1(?string $critereTexte1): CdeFournisseurMensu { |
||
776 | |||
777 | /** |
||
778 | * Set the date livraison. |
||
779 | * |
||
780 | * @param DateTime|null $dateLivraison The date livraison. |
||
781 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
782 | */ |
||
783 | public function setDateLivraison(?DateTime $dateLivraison): CdeFournisseurMensu { |
||
787 | |||
788 | /** |
||
789 | * Set the date transfert. |
||
790 | * |
||
791 | * @param DateTime|null $dateTransfert The date transfert. |
||
792 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
793 | */ |
||
794 | public function setDateTransfert(?DateTime $dateTransfert): CdeFournisseurMensu { |
||
798 | |||
799 | /** |
||
800 | * Set the designation. |
||
801 | * |
||
802 | * @param string|null $designation The designation. |
||
803 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
804 | */ |
||
805 | public function setDesignation(?string $designation): CdeFournisseurMensu { |
||
809 | |||
810 | /** |
||
811 | * Set the designation2. |
||
812 | * |
||
813 | * @param string|null $designation2 The designation2. |
||
814 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
815 | */ |
||
816 | public function setDesignation2(?string $designation2): CdeFournisseurMensu { |
||
820 | |||
821 | /** |
||
822 | * Set the designation3. |
||
823 | * |
||
824 | * @param string|null $designation3 The designation3. |
||
825 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
826 | */ |
||
827 | public function setDesignation3(?string $designation3): CdeFournisseurMensu { |
||
831 | |||
832 | /** |
||
833 | * Set the from cde type. |
||
834 | * |
||
835 | * @param bool|null $fromCdeType The from cde type. |
||
836 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
837 | */ |
||
838 | public function setFromCdeType(?bool $fromCdeType): CdeFournisseurMensu { |
||
842 | |||
843 | /** |
||
844 | * Set the maj stock by da. |
||
845 | * |
||
846 | * @param bool|null $majStockByDa The maj stock by da. |
||
847 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
848 | */ |
||
849 | public function setMajStockByDa(?bool $majStockByDa): CdeFournisseurMensu { |
||
853 | |||
854 | /** |
||
855 | * Set the no bon int. |
||
856 | * |
||
857 | * @param string|null $noBonInt The no bon int. |
||
858 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
859 | */ |
||
860 | public function setNoBonInt(?string $noBonInt): CdeFournisseurMensu { |
||
864 | |||
865 | /** |
||
866 | * Set the no piece cde. |
||
867 | * |
||
868 | * @param string|null $noPieceCde The no piece cde. |
||
869 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
870 | */ |
||
871 | public function setNoPieceCde(?string $noPieceCde): CdeFournisseurMensu { |
||
875 | |||
876 | /** |
||
877 | * Set the no piece cde cli. |
||
878 | * |
||
879 | * @param string|null $noPieceCdeCli The no piece cde cli. |
||
880 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
881 | */ |
||
882 | public function setNoPieceCdeCli(?string $noPieceCdeCli): CdeFournisseurMensu { |
||
886 | |||
887 | /** |
||
888 | * Set the numero bs genere. |
||
889 | * |
||
890 | * @param string|null $numeroBsGenere The numero bs genere. |
||
891 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
892 | */ |
||
893 | public function setNumeroBsGenere(?string $numeroBsGenere): CdeFournisseurMensu { |
||
897 | |||
898 | /** |
||
899 | * Set the numero ligne. |
||
900 | * |
||
901 | * @param int|null $numeroLigne The numero ligne. |
||
902 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
903 | */ |
||
904 | public function setNumeroLigne(?int $numeroLigne): CdeFournisseurMensu { |
||
908 | |||
909 | /** |
||
910 | * Set the pu brut. |
||
911 | * |
||
912 | * @param float|null $puBrut The pu brut. |
||
913 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
914 | */ |
||
915 | public function setPuBrut(?float $puBrut): CdeFournisseurMensu { |
||
919 | |||
920 | /** |
||
921 | * Set the periode. |
||
922 | * |
||
923 | * @param DateTime|null $periode The periode. |
||
924 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
925 | */ |
||
926 | public function setPeriode(?DateTime $periode): CdeFournisseurMensu { |
||
930 | |||
931 | /** |
||
932 | * Set the poste rent. |
||
933 | * |
||
934 | * @param string|null $posteRent The poste rent. |
||
935 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
936 | */ |
||
937 | public function setPosteRent(?string $posteRent): CdeFournisseurMensu { |
||
941 | |||
942 | /** |
||
943 | * Set the prix saisi. |
||
944 | * |
||
945 | * @param bool|null $prixSaisi The prix saisi. |
||
946 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
947 | */ |
||
948 | public function setPrixSaisi(?bool $prixSaisi): CdeFournisseurMensu { |
||
952 | |||
953 | /** |
||
954 | * Set the quantite. |
||
955 | * |
||
956 | * @param float|null $quantite The quantite. |
||
957 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
958 | */ |
||
959 | public function setQuantite(?float $quantite): CdeFournisseurMensu { |
||
963 | |||
964 | /** |
||
965 | * Set the quantite bs. |
||
966 | * |
||
967 | * @param float|null $quantiteBs The quantite bs. |
||
968 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
969 | */ |
||
970 | public function setQuantiteBs(?float $quantiteBs): CdeFournisseurMensu { |
||
974 | |||
975 | /** |
||
976 | * Set the quantite cde. |
||
977 | * |
||
978 | * @param float|null $quantiteCde The quantite cde. |
||
979 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
980 | */ |
||
981 | public function setQuantiteCde(?float $quantiteCde): CdeFournisseurMensu { |
||
985 | |||
986 | /** |
||
987 | * Set the quantite cde cli. |
||
988 | * |
||
989 | * @param float|null $quantiteCdeCli The quantite cde cli. |
||
990 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
991 | */ |
||
992 | public function setQuantiteCdeCli(?float $quantiteCdeCli): CdeFournisseurMensu { |
||
996 | |||
997 | /** |
||
998 | * Set the quantite liv. |
||
999 | * |
||
1000 | * @param float|null $quantiteLiv The quantite liv. |
||
1001 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
1002 | */ |
||
1003 | public function setQuantiteLiv(?float $quantiteLiv): CdeFournisseurMensu { |
||
1007 | |||
1008 | /** |
||
1009 | * Set the remise1. |
||
1010 | * |
||
1011 | * @param float|null $remise1 The remise1. |
||
1012 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
1013 | */ |
||
1014 | public function setRemise1(?float $remise1): CdeFournisseurMensu { |
||
1018 | |||
1019 | /** |
||
1020 | * Set the remise2. |
||
1021 | * |
||
1022 | * @param float|null $remise2 The remise2. |
||
1023 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
1024 | */ |
||
1025 | public function setRemise2(?float $remise2): CdeFournisseurMensu { |
||
1029 | |||
1030 | /** |
||
1031 | * Set the remise3. |
||
1032 | * |
||
1033 | * @param float|null $remise3 The remise3. |
||
1034 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
1035 | */ |
||
1036 | public function setRemise3(?float $remise3): CdeFournisseurMensu { |
||
1040 | |||
1041 | /** |
||
1042 | * Set the type gestion. |
||
1043 | * |
||
1044 | * @param string|null $typeGestion The type gestion. |
||
1045 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
1046 | */ |
||
1047 | public function setTypeGestion(?string $typeGestion): CdeFournisseurMensu { |
||
1051 | |||
1052 | /** |
||
1053 | * Set the type piece. |
||
1054 | * |
||
1055 | * @param string|null $typePiece The type piece. |
||
1056 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
1057 | */ |
||
1058 | public function setTypePiece(?string $typePiece): CdeFournisseurMensu { |
||
1062 | |||
1063 | /** |
||
1064 | * Set the uniq id blocage. |
||
1065 | * |
||
1066 | * @param string|null $uniqIdBlocage The uniq id blocage. |
||
1067 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
1068 | */ |
||
1069 | public function setUniqIdBlocage(?string $uniqIdBlocage): CdeFournisseurMensu { |
||
1073 | |||
1074 | /** |
||
1075 | * Set the validee. |
||
1076 | * |
||
1077 | * @param bool|null $validee The validee. |
||
1078 | * @return CdeFournisseurMensu Returns this Cde fournisseur mensu. |
||
1079 | */ |
||
1080 | public function setValidee(?bool $validee): CdeFournisseurMensu { |
||
1084 | } |
||
1085 |