• 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

64.44
/src/main/java/com/fincatto/documentofiscal/nfe400/classes/nota/NFNotaInfoItemImpostoICMS30.java
1
package com.fincatto.documentofiscal.nfe400.classes.nota;
2

3
import com.fincatto.documentofiscal.DFBase;
4
import com.fincatto.documentofiscal.nfe400.classes.NFNotaInfoImpostoTributacaoICMS;
5
import com.fincatto.documentofiscal.nfe400.classes.NFNotaInfoItemModalidadeBCICMSST;
6
import com.fincatto.documentofiscal.nfe400.classes.NFNotaMotivoDesoneracaoICMS;
7
import com.fincatto.documentofiscal.nfe400.classes.NFOrigem;
8
import com.fincatto.documentofiscal.nfe400.classes.NFTipoDeducaoIcms;
9
import com.fincatto.documentofiscal.validadores.DFBigDecimalValidador;
10
import java.math.BigDecimal;
11
import org.simpleframework.xml.Element;
12

13
public class NFNotaInfoItemImpostoICMS30 extends DFBase {
1✔
14

15
    private static final long serialVersionUID = 5195970258396234982L;
16

17
    @Element(name = "orig")
18
    private NFOrigem origem;
19

20
    @Element(name = "CST")
21
    private NFNotaInfoImpostoTributacaoICMS situacaoTributaria;
22

23
    @Element(name = "modBCST")
24
    private NFNotaInfoItemModalidadeBCICMSST modalidadeBCICMSST;
25

26
    @Element(name = "pMVAST", required = false)
27
    private String percentualMargemValorAdicionadoICMSST;
28

29
    @Element(name = "pRedBCST", required = false)
30
    private String percentualReducaoBCICMSST;
31

32
    @Element(name = "vBCST")
33
    private String valorBCICMSST;
34

35
    @Element(name = "pICMSST")
36
    private String percentualAliquotaImpostoICMSST;
37

38
    @Element(name = "vICMSST")
39
    private String valorImpostoICMSST;
40

41
    @Element(name = "vBCFCPST", required = false)
42
    private String valorBCFundoCombatePobrezaST;
43

44
    @Element(name = "pFCPST", required = false)
45
    private String percentualFundoCombatePobrezaST;
46

47
    @Element(name = "vFCPST", required = false)
48
    private String valorFundoCombatePobrezaST;
49

50
    @Element(name = "vICMSDeson", required = false)
51
    private String valorICMSDesoneracao;
52

53
    @Element(name = "motDesICMS", required = false)
54
    private NFNotaMotivoDesoneracaoICMS desoneracao;
55

56
    @Element(name = "indDeduzDeson", required = false)
57
    private NFTipoDeducaoIcms indicaDeduzDesoneracao;
58

59
    public void setOrigem(final NFOrigem origem) {
60
        this.origem = origem;
1✔
61
    }
1✔
62

63
    public void setSituacaoTributaria(final NFNotaInfoImpostoTributacaoICMS situacaoTributaria) {
64
        this.situacaoTributaria = situacaoTributaria;
1✔
65
    }
1✔
66

67
    public void setModalidadeBCICMSST(final NFNotaInfoItemModalidadeBCICMSST modalidadeBCICMSST) {
68
        this.modalidadeBCICMSST = modalidadeBCICMSST;
1✔
69
    }
1✔
70

71
    public void setPercentualMargemValorAdicionadoICMSST(final BigDecimal percentualMargemValorAdicionadoICMSST) {
72
        this.percentualMargemValorAdicionadoICMSST = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(percentualMargemValorAdicionadoICMSST, "Percentual Margem Valor Adicionado ICMS ST ICMS30 Item");
1✔
73
    }
1✔
74

75
    public void setPercentualReducaoBCICMSST(final BigDecimal percentualReducaoBCICMSST) {
76
        this.percentualReducaoBCICMSST = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(percentualReducaoBCICMSST, "Percentual Reducao BC ICMS ST ICMS30 Item");
1✔
77
    }
1✔
78

79
    public void setValorBCICMSST(final BigDecimal valorBCICMSST) {
80
        this.valorBCICMSST = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorBCICMSST, "Valor BC ICMS ST ICMS30 Item");
1✔
81
    }
1✔
82

83
    public void setPercentualAliquotaImpostoICMSST(final BigDecimal aliquotaImpostoICMSST) {
84
        this.percentualAliquotaImpostoICMSST = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(aliquotaImpostoICMSST, "Aliquota Imposto ICMS ST ICMS30 Item");
1✔
85
    }
1✔
86

87
    public void setValorImpostoICMSST(final BigDecimal valorImpostoICMSST) {
88
        this.valorImpostoICMSST = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorImpostoICMSST, "Valor Imposto ICMS ST ICMS30 Item");
1✔
89
    }
1✔
90

91
    public void setDesoneracao(final NFNotaMotivoDesoneracaoICMS nfNotaMotivoDesoneracaoICMS) {
92
        this.desoneracao = nfNotaMotivoDesoneracaoICMS;
1✔
93
    }
1✔
94

95
    public void setValorICMSDesoneracao(final BigDecimal valorICMSDesoneracao) {
96
        this.valorICMSDesoneracao = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorICMSDesoneracao, "Valor ICMS Desoneracao");
1✔
97
    }
1✔
98

99
    public void setValorBCFundoCombatePobrezaST(final BigDecimal valorBCFundoCombatePobrezaST) {
100
        this.valorBCFundoCombatePobrezaST = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorBCFundoCombatePobrezaST, "Base calculo fundo combate pobreza ST");
1✔
101
    }
1✔
102

103
    public void setPercentualFundoCombatePobrezaST(final BigDecimal percentualFundoCombatePobrezaST) {
104
        if (percentualFundoCombatePobrezaST.signum() <= 0) {
1✔
105
            throw new IllegalStateException("Percentual fundo de combate a pobreza precisa ser maior que zero!");
1✔
106
        }
107
        this.percentualFundoCombatePobrezaST = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(percentualFundoCombatePobrezaST, "Percentual fundo combate pobreza ST");
1✔
108
    }
1✔
109

110
    public void setValorFundoCombatePobrezaST(final BigDecimal valorFundoCombatePobrezaST) {
111
        this.valorFundoCombatePobrezaST = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorFundoCombatePobrezaST, "Valor fundo combate pobreza ST");
1✔
112
    }
1✔
113

114
    public NFOrigem getOrigem() {
115
        return this.origem;
×
116
    }
117

118
    public NFNotaInfoImpostoTributacaoICMS getSituacaoTributaria() {
119
        return this.situacaoTributaria;
×
120
    }
121

122
    public NFNotaInfoItemModalidadeBCICMSST getModalidadeBCICMSST() {
123
        return this.modalidadeBCICMSST;
×
124
    }
125

126
    public String getPercentualMargemValorAdicionadoICMSST() {
127
        return this.percentualMargemValorAdicionadoICMSST;
×
128
    }
129

130
    public String getPercentualReducaoBCICMSST() {
131
        return this.percentualReducaoBCICMSST;
×
132
    }
133

134
    public String getValorBCICMSST() {
135
        return this.valorBCICMSST;
×
136
    }
137

138
    public String getPercentualAliquotaImpostoICMSST() {
139
        return this.percentualAliquotaImpostoICMSST;
×
140
    }
141

142
    public String getValorImpostoICMSST() {
143
        return this.valorImpostoICMSST;
×
144
    }
145

146
    public String getValorICMSDesoneracao() {
147
        return this.valorICMSDesoneracao;
×
148
    }
149

150
    public NFNotaMotivoDesoneracaoICMS getDesoneracao() {
151
        return this.desoneracao;
×
152
    }
153

154
    public String getPercentualFundoCombatePobrezaST() {
155
        return this.percentualFundoCombatePobrezaST;
×
156
    }
157

158
    public String getValorBCFundoCombatePobrezaST() {
159
        return this.valorBCFundoCombatePobrezaST;
×
160
    }
161

162
    public String getValorFundoCombatePobrezaST() {
163
        return this.valorFundoCombatePobrezaST;
×
164
    }
165

166
    public NFTipoDeducaoIcms getIndicaDeduzDesoneracao() {
167
        return indicaDeduzDesoneracao;
×
168
    }
169

170
    public void setIndicaDeduzDesoneracao(NFTipoDeducaoIcms indicaDeduzDesoneracao) {
171
        this.indicaDeduzDesoneracao = indicaDeduzDesoneracao;
×
172
    }
×
173
}
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