• 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.67
/src/main/java/com/fincatto/documentofiscal/nfe400/classes/nota/NFNotaInfoItemImpostoICMSST.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 NFNotaInfoItemImpostoICMSST extends DFBase {
1✔
12
        private static final long serialVersionUID = -2354449482492846488L;
13

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

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

20
    @Element(name = "vBCSTRet")
21
        private String valorBCICMSSTRetidoUFRemetente;
22

23
        @Element(name = "pST", required = false)
24
        private String aliqSuportadaConsFinal;
25
        
26
        @Element(name = "vICMSSubstituto", required = false)
27
    private String valorICMSSubstituto;
28

29
    @Element(name = "vICMSSTRet")
30
        private String valorICMSSTRetidoUFRemetente;
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 = "vBCSTDest")
42
        private String valorBCICMSSTUFDestino;
43

44
    @Element(name = "vICMSSTDest")
45
        private String valorICMSSTUFDestino;
46
        
47
        @Element(name = "pRedBCEfet", required = false)
48
    private String percentualReducaoBCEfetiva;
49
        
50
        @Element(name = "vBCEfet", required = false)
51
    private String valorBCEfetiva;
52

53
    @Element(name = "pICMSEfet", required = false)
54
    private String percentualAliquotaICMSEfetiva;
55

56
    @Element(name = "vICMSEfet", required = false)
57
    private String valorICMSEfetivo;
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 setValorBCICMSSTRetidoUFRemetente(final BigDecimal valorBCICMSSTRetidoUFRemetente) {
68
        this.valorBCICMSSTRetidoUFRemetente = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorBCICMSSTRetidoUFRemetente, "Valor BC ICMS ST Retido UF Remetente");
1✔
69
        }
1✔
70

71
        public void setAliqSuportadaConsFinal(final BigDecimal aliqSuportadaConsFinal) {
72
        this.aliqSuportadaConsFinal = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(aliqSuportadaConsFinal, "Al\u00edquota suportada pelo Consumidor Final");
1✔
73
    }
1✔
74

75
        public void setValorICMSSubstituto(final BigDecimal valorICMSSubstituto) {
76
        this.valorICMSSubstituto = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorICMSSubstituto, "Valor do ICMS pr\u00f3prio do Substituto");
1✔
77
        }
1✔
78

79
        public void setValorICMSSTRetidoUFRemetente(final BigDecimal valorICMSSTRetidoUFRemetente) {
80
        this.valorICMSSTRetidoUFRemetente = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorICMSSTRetidoUFRemetente, "Valor ICMS ST Retido UF Remetente");
1✔
81
        }
1✔
82

83
        public void setValorBCFundoCombatePobrezaRetidoST(final BigDecimal valorBCFundoCombatePobrezaRetidoST) {
84
        this.valorBCFundoCombatePobrezaRetidoST = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorBCFundoCombatePobrezaRetidoST, "Valor da Base de C\u00e1lculo do FCP retido anteriormente");
1✔
85
    }
1✔
86

87
        public void setPercentualFundoCombatePobrezaRetidoST(final BigDecimal percentualFundoCombatePobrezaRetidoST) {
88
        if (percentualFundoCombatePobrezaRetidoST.signum() < 0) {
1✔
UNCOV
89
            throw new IllegalStateException("Percentual fundo de combate a pobreza precisa ser maior que zero!");
×
90
        }
91
        this.percentualFundoCombatePobrezaRetidoST = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(percentualFundoCombatePobrezaRetidoST, "Percentual fundo combate pobreza retido ST");
1✔
92
    }
1✔
93

94
        public void setValorFundoCombatePobrezaRetidoST(final BigDecimal valorFundoCombatePobrezaRetidoST) {
95
        this.valorFundoCombatePobrezaRetidoST = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorFundoCombatePobrezaRetidoST, "Valor fundo combate pobreza retido ST");
1✔
96
    }
1✔
97

98
    public void setValorBCICMSSTUFDestino(final BigDecimal valorBCICMSSTUFDestino) {
99
        this.valorBCICMSSTUFDestino = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorBCICMSSTUFDestino, "Valor BC ICMS ST UF Destino");
1✔
100
        }
1✔
101

102
        public void setValorICMSSTUFDestino(final BigDecimal valorICMSSTUFDestino) {
103
        this.valorICMSSTUFDestino = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorICMSSTUFDestino, "Valor ICMS ST UF Destino");
1✔
104
        }
1✔
105

106
        public void setPercentualReducaoBCEfetiva(final BigDecimal percentualReducaoBCEfetiva) {
107
        this.percentualReducaoBCEfetiva = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(percentualReducaoBCEfetiva, "Percentual de redu\u00e7\u00e3o da base de c\u00e1lculo efetiva");
1✔
108
    }
1✔
109

110
    public void setValorBCEfetiva(final BigDecimal valorBCEfetiva) {
111
        this.valorBCEfetiva = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorBCEfetiva, "Valor da base de c\u00e1lculo efetiva");
1✔
112
    }
1✔
113
        
114
        public void setPercentualAliquotaICMSEfetiva(final BigDecimal percentualAliquotaICMSEfetiva) {
115
        this.percentualAliquotaICMSEfetiva = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(percentualAliquotaICMSEfetiva, "Percentual aliquota ICMS efetiva");
1✔
116
    }
1✔
117
        
118
        public void setValorICMSEfetivo(final BigDecimal valorICMSEfetivo) {
119
        this.valorICMSEfetivo = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorICMSEfetivo, "Valor ICMS efetivo");
1✔
120
    }
1✔
121

122
        public NFOrigem getOrigem() {
UNCOV
123
                return origem;
×
124
        }
125

126
        public NFNotaInfoImpostoTributacaoICMS getSituacaoTributaria() {
UNCOV
127
                return situacaoTributaria;
×
128
        }
129

130
        public String getValorBCICMSSTRetidoUFRemetente() {
UNCOV
131
                return valorBCICMSSTRetidoUFRemetente;
×
132
        }
133

134
        public String getAliqSuportadaConsFinal() {
UNCOV
135
                return aliqSuportadaConsFinal;
×
136
        }
137

138
        public String getValorICMSSubstituto() {
UNCOV
139
                return valorICMSSubstituto;
×
140
        }
141

142
        public String getValorICMSSTRetidoUFRemetente() {
UNCOV
143
                return valorICMSSTRetidoUFRemetente;
×
144
        }
145

146
        public String getValorBCFundoCombatePobrezaRetidoST() {
UNCOV
147
                return valorBCFundoCombatePobrezaRetidoST;
×
148
        }
149

150
        public String getPercentualFundoCombatePobrezaRetidoST() {
UNCOV
151
                return percentualFundoCombatePobrezaRetidoST;
×
152
        }
153

154
        public String getValorFundoCombatePobrezaRetidoST() {
UNCOV
155
                return valorFundoCombatePobrezaRetidoST;
×
156
        }
157

158
        public String getValorBCICMSSTUFDestino() {
UNCOV
159
                return valorBCICMSSTUFDestino;
×
160
        }
161

162
        public String getValorICMSSTUFDestino() {
UNCOV
163
                return valorICMSSTUFDestino;
×
164
        }
165

166
        public String getPercentualReducaoBCEfetiva() {
UNCOV
167
                return percentualReducaoBCEfetiva;
×
168
        }
169
        
170
        public String getValorBCEfetiva() {
UNCOV
171
                return valorBCEfetiva;
×
172
        }
173

174
        public String getPercentualAliquotaICMSEfetiva() {
UNCOV
175
                return percentualAliquotaICMSEfetiva;
×
176
        }
177

178
        public String getValorICMSEfetivo() {
UNCOV
179
                return valorICMSEfetivo;
×
180
        }
181
        
182
}
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