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

JournauxRapproch::setNePasSaisirSoldeFin()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
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\Quadratus\Model\QCompta;
13
14
use DateTime;
15
16
/**
17
 * Journaux rapproch.
18
 *
19
 * @author webeweb <https://github.com/webeweb/>
20
 * @package WBW\Library\Core\ThirdParty\Quadratus\Model\QCompta
21
 */
22
class JournauxRapproch {
23
24
    /**
25
     * Code journal.
26
     *
27
     * @var string|null
28
     */
29
    private $codeJournal;
30
31
    /**
32
     * Methode.
33
     *
34
     * @var string|null
35
     */
36
    private $methode;
37
38
    /**
39
     * Ne pas saisir solde fin.
40
     *
41
     * @var bool|null
42
     */
43
    private $nePasSaisirSoldeFin;
44
45
    /**
46
     * Periode.
47
     *
48
     * @var DateTime|null
49
     */
50
    private $periode;
51
52
    /**
53
     * Solde fin.
54
     *
55
     * @var float|null
56
     */
57
    private $soldeFin;
58
59
60
    /**
61
     * Constructor.
62
     */
63
    public function __construct() {
64
        // NOTHING TO DO
65
    }
66
67
    /**
68
     * Get the code journal.
69
     *
70
     * @return string|null Returns the code journal.
71
     */
72
    public function getCodeJournal(): ?string{
73
        return $this->codeJournal;
74
    }
75
76
    /**
77
     * Get the methode.
78
     *
79
     * @return string|null Returns the methode.
80
     */
81
    public function getMethode(): ?string{
82
        return $this->methode;
83
    }
84
85
    /**
86
     * Get the ne pas saisir solde fin.
87
     *
88
     * @return bool|null Returns the ne pas saisir solde fin.
89
     */
90
    public function getNePasSaisirSoldeFin(): ?bool{
91
        return $this->nePasSaisirSoldeFin;
92
    }
93
94
    /**
95
     * Get the periode.
96
     *
97
     * @return DateTime|null Returns the periode.
98
     */
99
    public function getPeriode(): ?DateTime{
100
        return $this->periode;
101
    }
102
103
    /**
104
     * Get the solde fin.
105
     *
106
     * @return float|null Returns the solde fin.
107
     */
108
    public function getSoldeFin(): ?float{
109
        return $this->soldeFin;
110
    }
111
112
    /**
113
     * Set the code journal.
114
     *
115
     * @param string|null $codeJournal The code journal.
116
     * @return JournauxRapproch Returns this Journaux rapproch.
117
     */
118
    public function setCodeJournal(?string $codeJournal): JournauxRapproch {
119
        $this->codeJournal = $codeJournal;
120
        return $this;
121
    }
122
123
    /**
124
     * Set the methode.
125
     *
126
     * @param string|null $methode The methode.
127
     * @return JournauxRapproch Returns this Journaux rapproch.
128
     */
129
    public function setMethode(?string $methode): JournauxRapproch {
130
        $this->methode = $methode;
131
        return $this;
132
    }
133
134
    /**
135
     * Set the ne pas saisir solde fin.
136
     *
137
     * @param bool|null $nePasSaisirSoldeFin The ne pas saisir solde fin.
138
     * @return JournauxRapproch Returns this Journaux rapproch.
139
     */
140
    public function setNePasSaisirSoldeFin(?bool $nePasSaisirSoldeFin): JournauxRapproch {
141
        $this->nePasSaisirSoldeFin = $nePasSaisirSoldeFin;
142
        return $this;
143
    }
144
145
    /**
146
     * Set the periode.
147
     *
148
     * @param DateTime|null $periode The periode.
149
     * @return JournauxRapproch Returns this Journaux rapproch.
150
     */
151
    public function setPeriode(?DateTime $periode): JournauxRapproch {
152
        $this->periode = $periode;
153
        return $this;
154
    }
155
156
    /**
157
     * Set the solde fin.
158
     *
159
     * @param float|null $soldeFin The solde fin.
160
     * @return JournauxRapproch Returns this Journaux rapproch.
161
     */
162
    public function setSoldeFin(?float $soldeFin): JournauxRapproch {
163
        $this->soldeFin = $soldeFin;
164
        return $this;
165
    }
166
}
167