• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wmixvideo / nfe / #6266

21 Mar 2025 11:46AM UTC coverage: 52.671% (+25.7%) from 26.996%
#6266

push

luciano.antunes
Nota Fiscal Fácil

0 of 21 new or added lines in 2 files covered. (0.0%)

2924 existing lines in 401 files now uncovered.

14002 of 26584 relevant lines covered (52.67%)

0.53 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

66.23
/src/main/java/com/fincatto/documentofiscal/nfe400/classes/nota/NFNotaInfoItemImpostoICMS90.java
1
package com.fincatto.documentofiscal.nfe400.classes.nota;
2

3
import com.fincatto.documentofiscal.DFBase;
4
import com.fincatto.documentofiscal.nfe400.classes.*;
5
import com.fincatto.documentofiscal.validadores.DFBigDecimalValidador;
6
import java.math.BigDecimal;
7
import org.simpleframework.xml.Element;
8

9
public class NFNotaInfoItemImpostoICMS90 extends DFBase {
1✔
10

11
    private static final long serialVersionUID = 5614463736855881160L;
12

13
    @Element(name = "orig")
14
    private NFOrigem origem;
15

16
    @Element(name = "CST")
17
    private NFNotaInfoImpostoTributacaoICMS situacaoTributaria;
18

19
    @Element(name = "modBC", required = false)
20
    private NFNotaInfoItemModalidadeBCICMS modalidadeBCICMS;
21

22
    @Element(name = "vBC", required = false)
23
    private String valorBC;
24

25
    @Element(name = "pRedBC", required = false)
26
    private String percentualReducaoBC;
27

28
    @Element(name = "pICMS", required = false)
29
    private String percentualAliquota;
30

31
    @Element(name = "vICMS", required = false)
32
    private String valorTributo;
33

34
    @Element(name = "vBCFCP", required = false)
35
    private String valorBCFundoCombatePobreza;
36

37
    @Element(name = "pFCP", required = false)
38
    private String percentualFundoCombatePobreza;
39

40
    @Element(name = "vFCP", required = false)
41
    private String valorFundoCombatePobreza;
42

43
    @Element(name = "modBCST", required = false)
44
    private NFNotaInfoItemModalidadeBCICMSST modalidadeBCICMSST;
45

46
    @Element(name = "pMVAST", required = false)
47
    private String percentualMargemValorAdicionadoICMSST;
48

49
    @Element(name = "pRedBCST", required = false)
50
    private String percentualReducaoBCICMSST;
51

52
    @Element(name = "vBCST", required = false)
53
    private String valorBCST;
54

55
    @Element(name = "pICMSST", required = false)
56
    private String percentualAliquotaImpostoICMSST;
57

58
    @Element(name = "vICMSST", required = false)
59
    private String valorICMSST;
60

61
    @Element(name = "vBCFCPST", required = false)
62
    private String valorBCFundoCombatePobrezaST;
63

64
    @Element(name = "pFCPST", required = false)
65
    private String percentualFundoCombatePobrezaST;
66

67
    @Element(name = "vFCPST", required = false)
68
    private String valorFundoCombatePobrezaST;
69

70
    @Element(name = "vICMSDeson", required = false)
71
    private String valorICMSDesoneracao;
72

73
    @Element(name = "motDesICMS", required = false)
74
    private NFNotaMotivoDesoneracaoICMS desoneracao;
75

76
    @Element(name = "vICMSSTDeson", required = false)
77
    private String valorICMSSTDesonerado;
78

79
    @Element(name = "motDesICMSST", required = false)
80
    private NFNotaMotivoDesoneracaoICMS motivoDesoneracaoICMSST;
81

82
    @Element(name = "indDeduzDeson", required = false)
83
    private NFTipoDeducaoIcms indicaDeduzDesoneracao;
84

85
    public void setOrigem(final NFOrigem origem) {
86
        this.origem = origem;
1✔
87
    }
1✔
88

89
    public void setSituacaoTributaria(final NFNotaInfoImpostoTributacaoICMS situacaoTributaria) {
90
        this.situacaoTributaria = situacaoTributaria;
1✔
91
    }
1✔
92

93
    public void setModalidadeBCICMS(final NFNotaInfoItemModalidadeBCICMS modalidadeBCICMS) {
94
        this.modalidadeBCICMS = modalidadeBCICMS;
1✔
95
    }
1✔
96

97
    public void setValorBC(final BigDecimal valorBC) {
98
        this.valorBC = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorBC, "Valor BC ICMS90 Item");
1✔
99
    }
1✔
100

101
    public void setPercentualReducaoBC(final BigDecimal percentualReducaoBC) {
102
        this.percentualReducaoBC = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(percentualReducaoBC, "Percentual Reducao BC ICMS90 Item");
1✔
103
    }
1✔
104

105
    public void setPercentualAliquota(final BigDecimal aliquota) {
106
        this.percentualAliquota = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(aliquota, "Aliquota ICMS90 Item");
1✔
107
    }
1✔
108

109
    public void setValorTributo(final BigDecimal valorTributo) {
110
        this.valorTributo = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorTributo, "Valor Tributo ICMS90 Item");
1✔
111
    }
1✔
112

113
    public void setModalidadeBCICMSST(final NFNotaInfoItemModalidadeBCICMSST modalidadeBCICMSST) {
114
        this.modalidadeBCICMSST = modalidadeBCICMSST;
1✔
115
    }
1✔
116

117
    public void setPercentualMargemValorAdicionadoICMSST(final BigDecimal percentualMargemValorAdicionadoICMSST) {
118
        this.percentualMargemValorAdicionadoICMSST = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(percentualMargemValorAdicionadoICMSST, "Percentual Margem Valor Adicionado ICMS ST ICMS90 Item");
1✔
119
    }
1✔
120

121
    public void setPercentualReducaoBCICMSST(final BigDecimal percentualReducaoBCICMSST) {
122
        this.percentualReducaoBCICMSST = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(percentualReducaoBCICMSST, "Percentual Reducao BC ICMS ST ICMS90 Item");
1✔
123
    }
1✔
124

125
    public void setValorBCST(final BigDecimal valorBCST) {
126
        this.valorBCST = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorBCST, "Valor BC ST ICMS90 Item");
1✔
127
    }
1✔
128

129
    public void setPercentualAliquotaImpostoICMSST(final BigDecimal aliquotaImpostoICMSST) {
130
        this.percentualAliquotaImpostoICMSST = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(aliquotaImpostoICMSST, "Aliquota Imposto ICMS ST ICMS90 Item");
1✔
131
    }
1✔
132

133
    public void setValorICMSST(final BigDecimal valorICMSST) {
134
        this.valorICMSST = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorICMSST, "Valor ICMS ST ICMS90 Item");
1✔
135
    }
1✔
136

137
    public void setDesoneracao(final NFNotaMotivoDesoneracaoICMS desoneracao) {
138
        this.desoneracao = desoneracao;
1✔
139
    }
1✔
140

141
    public void setValorICMSDesoneracao(final BigDecimal valorICMSDesoneracao) {
142
        this.valorICMSDesoneracao = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorICMSDesoneracao, "Valor ICMS Desoneracao ICMS90 Item");
1✔
143
    }
1✔
144

145
    public void setValorBCFundoCombatePobreza(final BigDecimal valorBCFundoCombatePobreza) {
146
        this.valorBCFundoCombatePobreza = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorBCFundoCombatePobreza, "Valor base calculo fundo combate pobreza");
1✔
147
    }
1✔
148

149
    public void setPercentualFundoCombatePobreza(final BigDecimal percentualFundoCombatePobreza) {
150
        if (percentualFundoCombatePobreza.signum() <= 0) {
1✔
151
            throw new IllegalStateException("Percentual fundo de combate a pobreza precisa ser maior que zero!");
1✔
152
        }
153
        this.percentualFundoCombatePobreza = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(percentualFundoCombatePobreza, "Percentual fundo combate pobreza");
1✔
154
    }
1✔
155

156
    public void setValorFundoCombatePobreza(final BigDecimal valorFundoCombatePobreza) {
157
        this.valorFundoCombatePobreza = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorFundoCombatePobreza, "Valor fundo combate pobreza");
1✔
158
    }
1✔
159

160
    public void setValorBCFundoCombatePobrezaST(final BigDecimal valorBCFundoCombatePobrezaST) {
161
        this.valorBCFundoCombatePobrezaST = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorBCFundoCombatePobrezaST, "Base calculo fundo combate pobreza ST");
1✔
162
    }
1✔
163

164
    public void setPercentualFundoCombatePobrezaST(final BigDecimal percentualFundoCombatePobrezaST) {
165
        if (percentualFundoCombatePobrezaST.signum() <= 0) {
1✔
166
            throw new IllegalStateException("Percentual fundo de combate a pobreza precisa ser maior que zero!");
1✔
167
        }
168
        this.percentualFundoCombatePobrezaST = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(percentualFundoCombatePobrezaST, "Percentual fundo combate pobreza ST");
1✔
169
    }
1✔
170

171
    public void setValorFundoCombatePobrezaST(final BigDecimal valorFundoCombatePobrezaST) {
172
        this.valorFundoCombatePobrezaST = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorFundoCombatePobrezaST, "Valor fundo combate pobreza ST");
1✔
173
    }
1✔
174

175
    public void setValorICMSSTDesonerado(BigDecimal valorICMSSTDesonerado) {
176
        this.valorICMSSTDesonerado = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorICMSSTDesonerado, "Valor do ICMS-ST desonerado");
1✔
177
    }
1✔
178

179
    public void setMotivoDesoneracaoICMSST(NFNotaMotivoDesoneracaoICMS motivoDesoneracaoICMSST) {
180
        this.motivoDesoneracaoICMSST = motivoDesoneracaoICMSST;
1✔
181
    }
1✔
182

183
    public NFOrigem getOrigem() {
184
        return this.origem;
×
185
    }
186

187
    public NFNotaInfoImpostoTributacaoICMS getSituacaoTributaria() {
188
        return this.situacaoTributaria;
×
189
    }
190

191
    public NFNotaInfoItemModalidadeBCICMS getModalidadeBCICMS() {
192
        return this.modalidadeBCICMS;
×
193
    }
194

195
    public String getValorBC() {
196
        return this.valorBC;
×
197
    }
198

199
    public String getPercentualReducaoBC() {
200
        return this.percentualReducaoBC;
×
201
    }
202

203
    public String getPercentualAliquota() {
204
        return this.percentualAliquota;
×
205
    }
206

207
    public String getValorTributo() {
208
        return this.valorTributo;
×
209
    }
210

211
    public NFNotaInfoItemModalidadeBCICMSST getModalidadeBCICMSST() {
212
        return this.modalidadeBCICMSST;
×
213
    }
214

215
    public String getPercentualMargemValorAdicionadoICMSST() {
216
        return this.percentualMargemValorAdicionadoICMSST;
×
217
    }
218

219
    public String getPercentualReducaoBCICMSST() {
220
        return this.percentualReducaoBCICMSST;
×
221
    }
222

223
    public String getValorBCST() {
224
        return this.valorBCST;
×
225
    }
226

227
    public String getPercentualAliquotaImpostoICMSST() {
228
        return this.percentualAliquotaImpostoICMSST;
×
229
    }
230

231
    public String getValorICMSST() {
232
        return this.valorICMSST;
×
233
    }
234

235
    public String getValorICMSDesoneracao() {
236
        return this.valorICMSDesoneracao;
×
237
    }
238

239
    public NFNotaMotivoDesoneracaoICMS getDesoneracao() {
240
        return this.desoneracao;
×
241
    }
242

243
    public String getValorBCFundoCombatePobreza() {
244
        return this.valorBCFundoCombatePobreza;
×
245
    }
246

247
    public String getPercentualFundoCombatePobreza() {
248
        return this.percentualFundoCombatePobreza;
×
249
    }
250

251
    public String getValorFundoCombatePobreza() {
UNCOV
252
        return this.valorFundoCombatePobreza;
×
253
    }
254

255
    public String getPercentualFundoCombatePobrezaST() {
UNCOV
256
        return this.percentualFundoCombatePobrezaST;
×
257
    }
258

259
    public String getValorBCFundoCombatePobrezaST() {
UNCOV
260
        return this.valorBCFundoCombatePobrezaST;
×
261
    }
262

263
    public String getValorFundoCombatePobrezaST() {
UNCOV
264
        return this.valorFundoCombatePobrezaST;
×
265
    }
266

267
    public String getValorICMSSTDesonerado() {
UNCOV
268
        return valorICMSSTDesonerado;
×
269
    }
270

271
    public NFNotaMotivoDesoneracaoICMS getMotivoDesoneracaoICMSST() {
UNCOV
272
        return motivoDesoneracaoICMSST;
×
273
    }
274

275
    public NFTipoDeducaoIcms getIndicaDeduzDesoneracao() {
UNCOV
276
        return indicaDeduzDesoneracao;
×
277
    }
278

279
    public void setIndicaDeduzDesoneracao(NFTipoDeducaoIcms indicaDeduzDesoneracao) {
UNCOV
280
        this.indicaDeduzDesoneracao = indicaDeduzDesoneracao;
×
UNCOV
281
    }
×
282
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc