Completed
Push — master ( 544fde...527d7b )
by Giancarlos
02:31
created

SummaryDetail::setMtoOperInafectas()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 5
ccs 0
cts 5
cp 0
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
crap 2
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: Giansalex
5
 * Date: 15/07/2017
6
 * Time: 22:12
7
 */
8
9
namespace Greenter\Xml\Model\Summary;
10
11
use Symfony\Component\Validator\Constraints as Assert;
12
use Greenter\Xml\Validator\SummaryDetailValidator;
13
14
/**
15
 * Class SummaryDetail
16
 * @package Greenter\Xml\Model\Summary
17
 */
18
class SummaryDetail
19
{
20
    use SummaryDetailValidator;
21
22
    /**
23
     * @Assert\NotBlank()
24
     * @Assert\Length(min="2", max="2")
25
     * @var string
26
     */
27
    private $tipoDoc;
28
29
    /**
30
     * @Assert\NotBlank()
31
     * @Assert\Length(min="4", max="4")
32
     * @var string
33
     */
34
    private $serie;
35
36
    /**
37
     * @Assert\NotBlank()
38
     * @Assert\Length(max="8")
39
     * @var string
40
     */
41
    private $docInicio;
42
43
    /**
44
     * @Assert\NotBlank()
45
     * @Assert\Length(max="8")
46
     * @var string
47
     */
48
    private $docFin;
49
50
    /**
51
     * @Assert\NotBlank()
52
     * @var float
53
     */
54
    private $total;
55
56
    /**
57
     * @Assert\NotBlank()
58
     * @var float
59
     */
60
    private $mtoOperGravadas;
61
62
    /**
63
     * @Assert\NotBlank()
64
     * @var float
65
     */
66
    private $mtoOperInafectas;
67
68
    /**
69
     * @Assert\NotBlank()
70
     * @var float
71
     */
72
    private $mtoOperExoneradas;
73
74
    /**
75
     * @var float
76
     */
77
    private $mtoDescuentos;
78
79
    /**
80
     * @Assert\NotBlank()
81
     * @var float
82
     */
83
    private $mtoIGV;
84
85
    /**
86
     * @var float
87
     */
88
    private $mtoISC;
89
90
    /**
91
     * @var float
92
     */
93
    private $mtoOtrosTributos;
94
95
    /**
96
     * @return string
97
     */
98
    public function getTipoDoc()
99
    {
100
        return $this->tipoDoc;
101
    }
102
103
    /**
104
     * @param string $tipoDoc
105
     * @return SummaryDetail
106
     */
107
    public function setTipoDoc($tipoDoc)
108
    {
109
        $this->tipoDoc = $tipoDoc;
110
        return $this;
111
    }
112
113
    /**
114
     * @return string
115
     */
116
    public function getSerie()
117
    {
118
        return $this->serie;
119
    }
120
121
    /**
122
     * @param string $serie
123
     * @return SummaryDetail
124
     */
125
    public function setSerie($serie)
126
    {
127
        $this->serie = $serie;
128
        return $this;
129
    }
130
131
    /**
132
     * @return string
133
     */
134
    public function getDocInicio()
135
    {
136
        return $this->docInicio;
137
    }
138
139
    /**
140
     * @param string $docInicio
141
     * @return SummaryDetail
142
     */
143
    public function setDocInicio($docInicio)
144
    {
145
        $this->docInicio = $docInicio;
146
        return $this;
147
    }
148
149
    /**
150
     * @return string
151
     */
152
    public function getDocFin()
153
    {
154
        return $this->docFin;
155
    }
156
157
    /**
158
     * @param string $docFin
159
     * @return SummaryDetail
160
     */
161
    public function setDocFin($docFin)
162
    {
163
        $this->docFin = $docFin;
164
        return $this;
165
    }
166
167
    /**
168
     * @return float
169
     */
170
    public function getTotal()
171
    {
172
        return $this->total;
173
    }
174
175
    /**
176
     * @param float $total
177
     * @return SummaryDetail
178
     */
179
    public function setTotal($total)
180
    {
181
        $this->total = $total;
182
        return $this;
183
    }
184
185
    /**
186
     * @return float
187
     */
188
    public function getMtoOperGravadas()
189
    {
190
        return $this->mtoOperGravadas;
191
    }
192
193
    /**
194
     * @param float $mtoOperGravadas
195
     * @return SummaryDetail
196
     */
197
    public function setMtoOperGravadas($mtoOperGravadas)
198
    {
199
        $this->mtoOperGravadas = $mtoOperGravadas;
200
        return $this;
201
    }
202
203
    /**
204
     * @return float
205
     */
206
    public function getMtoOperInafectas()
207
    {
208
        return $this->mtoOperInafectas;
209
    }
210
211
    /**
212
     * @param float $mtoOperInafectas
213
     * @return SummaryDetail
214
     */
215
    public function setMtoOperInafectas($mtoOperInafectas)
216
    {
217
        $this->mtoOperInafectas = $mtoOperInafectas;
218
        return $this;
219
    }
220
221
    /**
222
     * @return mixed
223
     */
224
    public function getMtoOperExoneradas()
225
    {
226
        return $this->mtoOperExoneradas;
227
    }
228
229
    /**
230
     * @param mixed $mtoOperExoneradas
231
     * @return SummaryDetail
232
     */
233
    public function setMtoOperExoneradas($mtoOperExoneradas)
234
    {
235
        $this->mtoOperExoneradas = $mtoOperExoneradas;
236
        return $this;
237
    }
238
239
    /**
240
     * @return float
241
     */
242
    public function getMtoDescuentos()
243
    {
244
        return $this->mtoDescuentos;
245
    }
246
247
    /**
248
     * @param float $mtoDescuentos
249
     * @return SummaryDetail
250
     */
251
    public function setMtoDescuentos($mtoDescuentos)
252
    {
253
        $this->mtoDescuentos = $mtoDescuentos;
254
        return $this;
255
    }
256
257
    /**
258
     * @return float
259
     */
260
    public function getMtoIGV()
261
    {
262
        return $this->mtoIGV;
263
    }
264
265
    /**
266
     * @param float $mtoIGV
267
     * @return SummaryDetail
268
     */
269
    public function setMtoIGV($mtoIGV)
270
    {
271
        $this->mtoIGV = $mtoIGV;
272
        return $this;
273
    }
274
275
    /**
276
     * @return mixed
277
     */
278
    public function getMtoISC()
279
    {
280
        return $this->mtoISC;
281
    }
282
283
    /**
284
     * @param mixed $mtoISC
285
     * @return SummaryDetail
286
     */
287
    public function setMtoISC($mtoISC)
288
    {
289
        $this->mtoISC = $mtoISC;
290
        return $this;
291
    }
292
293
    /**
294
     * @return float
295
     */
296
    public function getMtoOtrosTributos()
297
    {
298
        return $this->mtoOtrosTributos;
299
    }
300
301
    /**
302
     * @param float $mtoOtrosTributos
303
     * @return SummaryDetail
304
     */
305
    public function setMtoOtrosTributos($mtoOtrosTributos)
306
    {
307
        $this->mtoOtrosTributos = $mtoOtrosTributos;
308
        return $this;
309
    }
310
}