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

Invoice::setNumDocGuia()   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
c 0
b 0
f 0
dl 0
loc 5
ccs 0
cts 3
cp 0
rs 9.4285
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: 21:05
7
 */
8
9
namespace Greenter\Xml\Model\Sale;
10
11
use Greenter\Xml\Validator\InvoiceValidator;
12
13
/**
14
 * Class Invoice
15
 * @package Greenter\Xml\Model\Sale
16
 */
17
class Invoice extends BaseSale
18
{
19
    use InvoiceValidator;
20
21
    /**
22
     * Tipo operacion (Catálogo 17).
23
     * @var string
24
     */
25
    private $tipoOperacion;
26
27
    /**
28
     * @var float
29
     */
30
    private $mtoOperGratuitas;
31
32
    /**
33
     * @var float
34
     */
35
    private $sumDsctoGlobal;
36
37
    /**
38
     * @var float
39
     */
40
    private $mtoDescuentos;
41
42
    /**
43
     * @var string
44
     */
45
    private $codRegPercepcion;
46
47
    /**
48
     * @var float
49
     */
50
    private $mtoBasePercepcion;
51
52
    /**
53
     * @var float
54
     */
55
    private $mtoPercepcion;
56
57
    /**
58
     * @var float
59
     */
60
    private $mtoTotalPercepcion;
61
62
    /**
63
     * @return string
64
     */
65 2
    public function getTipoOperacion()
66
    {
67 2
        return $this->tipoOperacion;
68
    }
69
70
    /**
71
     * @param string $tipoOperacion
72
     * @return Invoice
73
     */
74
    public function setTipoOperacion($tipoOperacion)
75
    {
76
        $this->tipoOperacion = $tipoOperacion;
77
        return $this;
78
    }
79
80
    /**
81
     * @return float
82
     */
83 2
    public function getSumDsctoGlobal()
84
    {
85 2
        return $this->sumDsctoGlobal;
86
    }
87
88
    /**
89
     * @param float $sumDsctoGlobal
90
     * @return Invoice
91
     */
92
    public function setSumDsctoGlobal($sumDsctoGlobal)
93
    {
94
        $this->sumDsctoGlobal = $sumDsctoGlobal;
95
        return $this;
96
    }
97
98
    /**
99
     * @return float
100
     */
101 2
    public function getMtoDescuentos()
102
    {
103 2
        return $this->mtoDescuentos;
104
    }
105
106
    /**
107
     * @param float $mtoDescuentos
108
     * @return Invoice
109
     */
110
    public function setMtoDescuentos($mtoDescuentos)
111
    {
112
        $this->mtoDescuentos = $mtoDescuentos;
113
        return $this;
114
    }
115
116
    /**
117
     * @return float
118
     */
119 2
    public function getMtoOperGratuitas()
120
    {
121 2
        return $this->mtoOperGratuitas;
122
    }
123
124
    /**
125
     * @param float $mtoOperGratuitas
126
     * @return Invoice
127
     */
128
    public function setMtoOperGratuitas($mtoOperGratuitas)
129
    {
130
        $this->mtoOperGratuitas = $mtoOperGratuitas;
131
        return $this;
132
    }
133
134
    /**
135
     * @return string
136
     */
137
    public function getCodRegPercepcion()
138
    {
139
        return $this->codRegPercepcion;
140
    }
141
142
    /**
143
     * @param string $codRegPercepcion
144
     * @return Invoice
145
     */
146
    public function setCodRegPercepcion($codRegPercepcion)
147
    {
148
        $this->codRegPercepcion = $codRegPercepcion;
149
        return $this;
150
    }
151
152
    /**
153
     * @return float
154
     */
155 2
    public function getMtoBasePercepcion()
156
    {
157 2
        return $this->mtoBasePercepcion;
158
    }
159
160
    /**
161
     * @param float $mtoBasePercepcion
162
     * @return Invoice
163
     */
164
    public function setMtoBasePercepcion($mtoBasePercepcion)
165
    {
166
        $this->mtoBasePercepcion = $mtoBasePercepcion;
167
        return $this;
168
    }
169
170
    /**
171
     * @return float
172
     */
173
    public function getMtoPercepcion()
174
    {
175
        return $this->mtoPercepcion;
176
    }
177
178
    /**
179
     * @param float $mtoPercepcion
180
     * @return Invoice
181
     */
182
    public function setMtoPercepcion($mtoPercepcion)
183
    {
184
        $this->mtoPercepcion = $mtoPercepcion;
185
        return $this;
186
    }
187
188
    /**
189
     * @return float
190
     */
191
    public function getMtoTotalPercepcion()
192
    {
193
        return $this->mtoTotalPercepcion;
194
    }
195
196
    /**
197
     * @param float $mtoTotalPercepcion
198
     * @return Invoice
199
     */
200
    public function setMtoTotalPercepcion($mtoTotalPercepcion)
201
    {
202
        $this->mtoTotalPercepcion = $mtoTotalPercepcion;
203
        return $this;
204
    }
205
}