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

wmixvideo / nfe / #6582

17 Jul 2025 09:30PM UTC coverage: 51.231% (+24.2%) from 26.996%
#6582

push

web-flow
Adequação do mapeamento de infLocalCarrega e infLocalDescarrega ao xs:choice do schema MDF-e (#1054)

* Adequação do mapeamento de infLocalCarrega e infLocalDescarrega ao xs:choice do schema MDF-e

* Adequação do mapeamento de infLocalCarrega e infLocalDescarrega ao xs:choice do schema MDF-e

14006 of 27339 relevant lines covered (51.23%)

0.51 hits per line

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

70.77
/src/main/java/com/fincatto/documentofiscal/nfe400/classes/nota/NFNotaInfoItemImpostoICMS10.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 org.simpleframework.xml.Element;
7

8
import java.math.BigDecimal;
9

10
public class NFNotaInfoItemImpostoICMS10 extends DFBase {
1✔
11
    private static final long serialVersionUID = 3531314516853056385L;
12
    
13
    @Element(name = "orig")
14
    private NFOrigem origem;
15
    
16
    @Element(name = "CST")
17
    private NFNotaInfoImpostoTributacaoICMS situacaoTributaria;
18
    
19
    @Element(name = "modBC")
20
    private NFNotaInfoItemModalidadeBCICMS modalidadeBCICMS;
21
    
22
    @Element(name = "vBC")
23
    private String valorBaseCalculo;
24
    
25
    @Element(name = "pICMS")
26
    private String percentualAliquota;
27
    
28
    @Element(name = "vICMS")
29
    private String valorTributo;
30

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

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

37
    @Element(name = "vFCP", required = false)
38
    private String valorFundoCombatePobreza;
39
    
40
    @Element(name = "modBCST", required = false)
41
    private NFNotaInfoItemModalidadeBCICMSST modalidadeBCICMSST;
42

43
    @Element(name = "pMVAST", required = false)
44
    private String percentualMargemValorAdicionadoICMSST;
45

46
    @Element(name = "pRedBCST", required = false)
47
    private String percentualReducaoBCICMSST;
48
    
49
    @Element(name = "vBCST")
50
    private String valorBCICMSST;
51
    
52
    @Element(name = "pICMSST")
53
    private String percentualAliquotaImpostoICMSST;
54
    
55
    @Element(name = "vICMSST")
56
    private String valorICMSST;
57

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

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

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

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

70
    @Element(name = "motDesICMSST", required = false)
71
    private NFNotaMotivoDesoneracaoICMS motivoDesoneracaoICMSST;
72

73
    public void setOrigem(final NFOrigem origem) {
74
        this.origem = origem;
1✔
75
    }
1✔
76

77
    public void setSituacaoTributaria(final NFNotaInfoImpostoTributacaoICMS situacaoTributaria) {
78
        this.situacaoTributaria = situacaoTributaria;
1✔
79
    }
1✔
80

81
    public void setModalidadeBCICMS(final NFNotaInfoItemModalidadeBCICMS modalidadeBCICMS) {
82
        this.modalidadeBCICMS = modalidadeBCICMS;
1✔
83
    }
1✔
84

85
    public void setValorBaseCalculo(final BigDecimal valorBaseCalculo) {
86
        this.valorBaseCalculo = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorBaseCalculo, "Valor Base Calculo ICMS10 Item");
1✔
87
    }
1✔
88

89
    public void setPercentualAliquota(final BigDecimal aliquota) {
90
        this.percentualAliquota = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(aliquota, "Aliquota ICMS10 Item");
1✔
91
    }
1✔
92

93
    public void setValorTributo(final BigDecimal valorTributo) {
94
        this.valorTributo = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorTributo, "Valor Tributo ICMS10 Item");
1✔
95
    }
1✔
96

97
    public void setModalidadeBCICMSST(final NFNotaInfoItemModalidadeBCICMSST modalidadeBCICMSST) {
98
        this.modalidadeBCICMSST = modalidadeBCICMSST;
1✔
99
    }
1✔
100
    
101
    public void setPercentualMargemValorAdicionadoICMSST(final BigDecimal percentualMargemValorAdicionadoICMSST) {
102
        this.percentualMargemValorAdicionadoICMSST = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(percentualMargemValorAdicionadoICMSST, "Percentual MVA ICMS ST ICMS10 Item");
1✔
103
    }
1✔
104

105
    public void setPercentualReducaoBCICMSST(final BigDecimal percentualReducaoBCICMSST) {
106
        this.percentualReducaoBCICMSST = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(percentualReducaoBCICMSST, "Percentual Reducao BC ICMS ST ICMS10 Item");
1✔
107
    }
1✔
108

109
    public void setValorBCICMSST(final BigDecimal valorBCICMSST) {
110
        this.valorBCICMSST = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorBCICMSST, "Valor BC ICMS ST ICMS10 Item");
1✔
111
    }
1✔
112

113
    public void setPercentualAliquotaImpostoICMSST(final BigDecimal aliquotaImpostoICMSST) {
114
        this.percentualAliquotaImpostoICMSST = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(aliquotaImpostoICMSST, "Aliquota Imposto ICMS ST ICMS10 Item");
1✔
115
    }
1✔
116

117
    public void setValorICMSST(final BigDecimal valorICMSST) {
118
        this.valorICMSST = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorICMSST, "Valor ICMS ST ICMS10 Item");
1✔
119
    }
1✔
120

121
    public void setValorBaseCalculoFundoCombatePobreza(final BigDecimal valorBaseCalculoFundoCombatePobreza) {
122
        this.valorBaseCalculoFundoCombatePobreza = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorBaseCalculoFundoCombatePobreza, "Base calculo fundo combate pobreza");
1✔
123
    }
1✔
124

125
    public void setPercentualFundoCombatePobreza(final BigDecimal percentualFundoCombatePobreza) {
126
        if (percentualFundoCombatePobreza.signum() <= 0) {
1✔
127
            throw new IllegalStateException("Percentual fundo de combate a pobreza precisa ser maior que zero!");
1✔
128
        }
129
        this.percentualFundoCombatePobreza = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(percentualFundoCombatePobreza, "Percentual fundo combate pobreza");
1✔
130
    }
1✔
131

132
    public void setValorFundoCombatePobreza(final BigDecimal valorFundoCombatePobreza) {
133
        this.valorFundoCombatePobreza = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorFundoCombatePobreza, "Valor fundo combate pobreza");
1✔
134
    }
1✔
135

136
    public void setValorBCFundoCombatePobrezaST(final BigDecimal valorBCFundoCombatePobrezaST) {
137
        this.valorBCFundoCombatePobrezaST = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorBCFundoCombatePobrezaST, "Base calculo fundo combate pobreza ST");
1✔
138
    }
1✔
139

140
    public void setPercentualFundoCombatePobrezaST(final BigDecimal percentualFundoCombatePobrezaST) {
141
        if (percentualFundoCombatePobrezaST.signum() < 0) {
1✔
142
            throw new IllegalStateException("Percentual fundo de combate a pobreza precisa ser maior que zero!");
×
143
        }
144
        this.percentualFundoCombatePobrezaST = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(percentualFundoCombatePobrezaST, "Percentual fundo combate pobreza ST");
1✔
145
    }
1✔
146

147
    public void setValorFundoCombatePobrezaST(final BigDecimal valorFundoCombatePobrezaST) {
148
        this.valorFundoCombatePobrezaST = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorFundoCombatePobrezaST, "Valor fundo combate pobreza ST");
1✔
149
    }
1✔
150

151
    public void setValorICMSSTDesonerado(BigDecimal valorICMSSTDesonerado) {
152
        this.valorICMSSTDesonerado = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorICMSSTDesonerado, "Valor do ICMS-ST desonerado");
1✔
153
    }
1✔
154

155
    public void setMotivoDesoneracaoICMSST(NFNotaMotivoDesoneracaoICMS motivoDesoneracaoICMSST) {
156
        this.motivoDesoneracaoICMSST = motivoDesoneracaoICMSST;
1✔
157
    }
1✔
158

159
    public NFOrigem getOrigem() {
160
        return this.origem;
×
161
    }
162

163
    public NFNotaInfoImpostoTributacaoICMS getSituacaoTributaria() {
164
        return this.situacaoTributaria;
×
165
    }
166

167
    public NFNotaInfoItemModalidadeBCICMS getModalidadeBCICMS() {
168
        return this.modalidadeBCICMS;
×
169
    }
170

171
    public String getValorBaseCalculo() {
172
        return this.valorBaseCalculo;
×
173
    }
174

175
    public String getPercentualAliquota() {
176
        return this.percentualAliquota;
×
177
    }
178

179
    public String getValorTributo() {
180
        return this.valorTributo;
×
181
    }
182

183
    public NFNotaInfoItemModalidadeBCICMSST getModalidadeBCICMSST() {
184
        return this.modalidadeBCICMSST;
1✔
185
    }
186
    
187
    public String getPercentualMargemValorAdicionadoICMSST() {
188
        return this.percentualMargemValorAdicionadoICMSST;
1✔
189
    }
190

191
    public String getPercentualReducaoBCICMSST() {
192
        return this.percentualReducaoBCICMSST;
×
193
    }
194

195
    public String getValorBCICMSST() {
196
        return this.valorBCICMSST;
×
197
    }
198

199
    public String getPercentualAliquotaImpostoICMSST() {
200
        return this.percentualAliquotaImpostoICMSST;
×
201
    }
202

203
    public String getValorICMSST() {
204
        return this.valorICMSST;
×
205
    }
206

207
    public String getValorBaseCalculoFundoCombatePobreza() {
208
        return this.valorBaseCalculoFundoCombatePobreza;
×
209
    }
210

211
    public String getPercentualFundoCombatePobreza() {
212
        return this.percentualFundoCombatePobreza;
×
213
    }
214

215
    public String getValorFundoCombatePobreza() {
216
        return this.valorFundoCombatePobreza;
×
217
    }
218

219
    public String getValorBCFundoCombatePobrezaST() {
220
        return this.valorBCFundoCombatePobrezaST;
×
221
    }
222

223
    public String getPercentualFundoCombatePobrezaST() {
224
        return this.percentualFundoCombatePobrezaST;
×
225
    }
226

227
    public String getValorFundoCombatePobrezaST() {
228
        return this.valorFundoCombatePobrezaST;
×
229
    }
230

231
    public String getValorICMSSTDesonerado() {
232
        return valorICMSSTDesonerado;
×
233
    }
234

235
    public NFNotaMotivoDesoneracaoICMS getMotivoDesoneracaoICMSST() {
236
        return motivoDesoneracaoICMSST;
×
237
    }
238
}
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