• 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

47.62
/src/main/java/com/fincatto/documentofiscal/nfe400/classes/nota/NFNotaInfoItemImpostoICMS60.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.NFOrigem;
6
import com.fincatto.documentofiscal.validadores.DFBigDecimalValidador;
7
import org.simpleframework.xml.Element;
8

9
import java.math.BigDecimal;
10

11
public class NFNotaInfoItemImpostoICMS60 extends DFBase {
1✔
12
    private static final long serialVersionUID = 1325261415800285939L;
13
    
14
    @Element(name = "orig")
15
    private NFOrigem origem;
16
    
17
    @Element(name = "CST")
18
    private NFNotaInfoImpostoTributacaoICMS situacaoTributaria;
19

20
    @Element(name = "vBCSTRet", required = false)
21
    private String valorBCICMSSTRetido;
22

23
    @Element(name = "pST", required = false)
24
    private String percentualAliquotaICMSSTConsumidorFinal;
25

26
    @Element(name = "vICMSSubstituto", required = false)
27
    private String valorICMSSubstituto;
28
                    
29
    @Element(name = "vICMSSTRet", required = false)
30
    private String valorICMSSTRetido;
31

32
    @Element(name = "vBCFCPSTRet", required = false)
33
    private String valorBCFundoCombatePobrezaRetidoST;
34

35
    @Element(name = "pFCPSTRet", required = false)
36
    private String percentualFundoCombatePobrezaRetidoST;
37

38
    @Element(name = "vFCPSTRet", required = false)
39
    private String valorFundoCombatePobrezaRetidoST;
40

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

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

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

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

53
    public void setOrigem(final NFOrigem origem) {
54
        this.origem = origem;
1✔
55
    }
1✔
56

57
    public void setSituacaoTributaria(final NFNotaInfoImpostoTributacaoICMS situacaoTributaria) {
58
        this.situacaoTributaria = situacaoTributaria;
1✔
59
    }
1✔
60

61
    public void setValorBCICMSSTRetido(final BigDecimal valorBCICMSSTRetido) {
62
        this.valorBCICMSSTRetido = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorBCICMSSTRetido, "Valor BC ICMS ST Retido ICMS60 Item");
1✔
63
    }
1✔
64

65
    public void setValorICMSSTRetido(final BigDecimal valorICMSSTRetido) {
66
        this.valorICMSSTRetido = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorICMSSTRetido, "Valor ICMS ST Retido ICMS60 Item");
1✔
67
    }
1✔
68

69
    public void setPercentualAliquotaICMSSTConsumidorFinal(final BigDecimal percentualAliquotaICMSST) {
70
        this.percentualAliquotaICMSSTConsumidorFinal = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(percentualAliquotaICMSST, "Valor Aliquota suportada pelo Consumidor Final");
1✔
71
    }
1✔
72

73
    public void setValorICMSSubstituto(final BigDecimal valorICMSSubstituto) {
74
        this.valorICMSSubstituto = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorICMSSubstituto, "Valor ICMS Substituto ICMS60 Item");
1✔
75
    }
1✔
76
    
77
    public void setValorBCFundoCombatePobrezaRetidoST(final BigDecimal valorBCFundoCombatePobrezaRetidoST) {
78
        this.valorBCFundoCombatePobrezaRetidoST = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorBCFundoCombatePobrezaRetidoST, "Valor base calculo fundo combate pobreza retido ST");
1✔
79
    }
1✔
80

81
    public void setPercentualFundoCombatePobrezaRetidoST(final BigDecimal percentualFundoCombatePobrezaRetidoST) {
82
        if (percentualFundoCombatePobrezaRetidoST.signum() < 0) {
1✔
83
            throw new IllegalStateException("Percentual fundo de combate a pobreza precisa ser maior que zero!");
×
84
        }
85
        this.percentualFundoCombatePobrezaRetidoST = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(percentualFundoCombatePobrezaRetidoST, "Percentual fundo combate pobreza retido ST");
1✔
86
    }
1✔
87

88
    public void setValorFundoCombatePobrezaRetidoST(final BigDecimal valorFundoCombatePobrezaRetidoST) {
89
        this.valorFundoCombatePobrezaRetidoST = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorFundoCombatePobrezaRetidoST, "Valor fundo combate pobreza retido ST");
1✔
90
    }
1✔
91

92
    public void setPercentualReducaoBCEfetiva(final BigDecimal percentualReducaoBCEfetiva) {
UNCOV
93
        this.percentualReducaoBCEfetiva = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(percentualReducaoBCEfetiva, "Percentual reducao BC efetiva");
×
UNCOV
94
    }
×
95

96
    public void setValorBCEfetiva(final BigDecimal valorBCEfetiva) {
UNCOV
97
        this.valorBCEfetiva = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorBCEfetiva, "Valor BC efetiva");
×
UNCOV
98
    }
×
99

100
    public void setPercentualAliquotaICMSEfetiva(final BigDecimal percentualAliquotaICMSEfetiva) {
UNCOV
101
        this.percentualAliquotaICMSEfetiva = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(percentualAliquotaICMSEfetiva, "Percentual aliquota ICMS efetiva");
×
UNCOV
102
    }
×
103

104
    public void setValorICMSEfetivo(final BigDecimal valorICMSEfetivo) {
UNCOV
105
        this.valorICMSEfetivo = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorICMSEfetivo, "Valor ICMS efetivo");
×
UNCOV
106
    }
×
107

108
    public NFOrigem getOrigem() {
UNCOV
109
        return this.origem;
×
110
    }
111

112
    public NFNotaInfoImpostoTributacaoICMS getSituacaoTributaria() {
UNCOV
113
        return this.situacaoTributaria;
×
114
    }
115

116
    public String getValorBCICMSSTRetido() {
UNCOV
117
        return this.valorBCICMSSTRetido;
×
118
    }
119

120
    public String getValorICMSSTRetido() {
UNCOV
121
        return this.valorICMSSTRetido;
×
122
    }
123

124
    public String getPercentualAliquotaICMSSTSuportadaConsumidorFinal() {
UNCOV
125
        return this.percentualAliquotaICMSSTConsumidorFinal;
×
126
    }
127
    
128
    public String getValorICMSSubstituto() {
UNCOV
129
                return this.valorICMSSubstituto;
×
130
        }
131

132
    public String getValorBCFundoCombatePobrezaRetidoST() {
UNCOV
133
        return this.valorBCFundoCombatePobrezaRetidoST;
×
134
    }
135

136
    public String getPercentualFundoCombatePobrezaRetidoST() {
UNCOV
137
        return this.percentualFundoCombatePobrezaRetidoST;
×
138
    }
139

140
    public String getValorFundoCombatePobrezaRetidoST() {
UNCOV
141
        return this.valorFundoCombatePobrezaRetidoST;
×
142
    }
143

144
    public String getPercentualReducaoBCEfetiva() {
UNCOV
145
        return this.percentualReducaoBCEfetiva;
×
146
    }
147

148
    public String getValorBCEfetiva() {
UNCOV
149
        return this.valorBCEfetiva;
×
150
    }
151

152
    public String getPercentualAliquotaICMSEfetiva() {
UNCOV
153
        return this.percentualAliquotaICMSEfetiva;
×
154
    }
155

156
    public String getValorICMSEfetivo() {
UNCOV
157
        return this.valorICMSEfetivo;
×
158
    }
159

160
}
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