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

wmixvideo / nfe / #7148

04 Dec 2025 02:00PM UTC coverage: 52.281% (+25.3%) from 26.996%
#7148

push

web-flow
Ajuste conforme CTe_Nota_Tecnica_2025_001_RTC_v1.10 (#1126)

* Merge from master

* Revert "Merge from master"

This reverts commit e2ed141c3.

* Revert "Revert "Merge from master""

This reverts commit 05781623b.

* Adição do campo indDoacao e grupo de informações de estorno de crédito. Exclusão do grupo de informações do crédito presumido por não se aplicar aos cClassTrib associados ao CTe. Conforme CTe_Nota_Tecnica_2025_001_RTC_v1.10.

103 of 276 new or added lines in 17 files covered. (37.32%)

2968 existing lines in 404 files now uncovered.

14761 of 28234 relevant lines covered (52.28%)

0.52 hits per line

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

67.39
/src/main/java/com/fincatto/documentofiscal/nfe310/classes/nota/NFNotaInfoItemImpostoICMS70.java
1
package com.fincatto.documentofiscal.nfe310.classes.nota;
2

3
import com.fincatto.documentofiscal.DFBase;
4
import com.fincatto.documentofiscal.nfe310.classes.*;
5
import com.fincatto.documentofiscal.validadores.DFBigDecimalValidador;
6
import org.simpleframework.xml.Element;
7

8
import java.math.BigDecimal;
9

10
public class NFNotaInfoItemImpostoICMS70 extends DFBase {
1✔
11
    private static final long serialVersionUID = -5946992423885910972L;
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 = "pRedBC")
23
    private String percentualReducaoBC;
24
    
25
    @Element(name = "vBC")
26
    private String valorBC;
27
    
28
    @Element(name = "pICMS")
29
    private String percentualAliquota;
30
    
31
    @Element(name = "vICMS")
32
    private String valorTributo;
33
    
34
    @Element(name = "modBCST")
35
    private NFNotaInfoItemModalidadeBCICMSST modalidadeBCICMSST;
36

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

40
    @Element(name = "pRedBCST", required = false)
41
    private String percentualReducaoBCICMSST;
42
    
43
    @Element(name = "vBCST")
44
    private String valorBCST;
45
    
46
    @Element(name = "pICMSST")
47
    private String percentualAliquotaImpostoICMSST;
48
    
49
    @Element(name = "vICMSST")
50
    private String valorICMSST;
51

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

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

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

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

66
    public void setModalidadeBCICMS(final NFNotaInfoItemModalidadeBCICMS modalidadeBCICMS) {
67
        this.modalidadeBCICMS = modalidadeBCICMS;
1✔
68
    }
1✔
69

70
    public void setPercentualReducaoBC(final BigDecimal percentualReducaoBC) {
71
        this.percentualReducaoBC = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(percentualReducaoBC, "Percentual Reducao BC ICMS70 Item");
1✔
72
    }
1✔
73

74
    public void setValorBC(final BigDecimal valorBC) {
75
        this.valorBC = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorBC, "Valor BC ICMS70 Item");
1✔
76
    }
1✔
77

78
    public void setPercentualAliquota(final BigDecimal aliquota) {
79
        this.percentualAliquota = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(aliquota, "Aliquota ICMS70 Item");
1✔
80
    }
1✔
81

82
    public void setValorTributo(final BigDecimal valorTributo) {
83
        this.valorTributo = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorTributo, "Valor Tributo ICMS70 Item");
1✔
84
    }
1✔
85

86
    public void setModalidadeBCICMSST(final NFNotaInfoItemModalidadeBCICMSST modalidadeBCICMSST) {
87
        this.modalidadeBCICMSST = modalidadeBCICMSST;
1✔
88
    }
1✔
89

90
    public void setPercentualMargemValorAdicionadoICMSST(final BigDecimal percentualMargemValorAdicionadoICMSST) {
91
        this.percentualMargemValorAdicionadoICMSST = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(percentualMargemValorAdicionadoICMSST, "Percentual Margem Valor Adicionado ICMS ST ICMS70 Item");
1✔
92
    }
1✔
93

94
    public void setPercentualReducaoBCICMSST(final BigDecimal percentualReducaoBCICMSST) {
95
        this.percentualReducaoBCICMSST = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(percentualReducaoBCICMSST, "Percentual Reducao BC ICMS ST ICMS70 Item");
1✔
96
    }
1✔
97

98
    public void setValorBCST(final BigDecimal valorBCST) {
99
        this.valorBCST = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorBCST, "Valor BC ST ICMS70 Item");
1✔
100
    }
1✔
101

102
    public void setPercentualAliquotaImpostoICMSST(final BigDecimal aliquotaImpostoICMSST) {
103
        this.percentualAliquotaImpostoICMSST = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(aliquotaImpostoICMSST, "Aliquota Imposto ICMS ST ICMS70 Item");
1✔
104
    }
1✔
105

106
    public void setValorICMSST(final BigDecimal valorICMSST) {
107
        this.valorICMSST = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorICMSST, "Valor ICMS ST ICMS70 Item");
1✔
108
    }
1✔
109

110
    public void setDesoneracao(final NFNotaMotivoDesoneracaoICMS desoneracao) {
111
        this.desoneracao = desoneracao;
1✔
112
    }
1✔
113

114
    public void setValorICMSDesoneracao(final BigDecimal valorICMSDesoneracao) {
115
        this.valorICMSDesoneracao = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorICMSDesoneracao, "Valor ICMS Desoneracao ICMS70 Item");
1✔
116
    }
1✔
117

118
    public NFOrigem getOrigem() {
UNCOV
119
        return this.origem;
×
120
    }
121

122
    public NFNotaInfoImpostoTributacaoICMS getSituacaoTributaria() {
UNCOV
123
        return this.situacaoTributaria;
×
124
    }
125

126
    public NFNotaInfoItemModalidadeBCICMS getModalidadeBCICMS() {
UNCOV
127
        return this.modalidadeBCICMS;
×
128
    }
129

130
    public String getPercentualReducaoBC() {
UNCOV
131
        return this.percentualReducaoBC;
×
132
    }
133

134
    public String getValorBC() {
UNCOV
135
        return this.valorBC;
×
136
    }
137

138
    public String getPercentualAliquota() {
UNCOV
139
        return this.percentualAliquota;
×
140
    }
141

142
    public String getValorTributo() {
UNCOV
143
        return this.valorTributo;
×
144
    }
145

146
    public NFNotaInfoItemModalidadeBCICMSST getModalidadeBCICMSST() {
UNCOV
147
        return this.modalidadeBCICMSST;
×
148
    }
149

150
    public String getPercentualMargemValorAdicionadoICMSST() {
UNCOV
151
        return this.percentualMargemValorAdicionadoICMSST;
×
152
    }
153

154
    public String getPercentualReducaoBCICMSST() {
UNCOV
155
        return this.percentualReducaoBCICMSST;
×
156
    }
157

158
    public String getValorBCST() {
UNCOV
159
        return this.valorBCST;
×
160
    }
161

162
    public String getPercentualAliquotaImpostoICMSST() {
UNCOV
163
        return this.percentualAliquotaImpostoICMSST;
×
164
    }
165

166
    public String getValorICMSST() {
UNCOV
167
        return this.valorICMSST;
×
168
    }
169

170
    public String getValorICMSDesoneracao() {
UNCOV
171
        return this.valorICMSDesoneracao;
×
172
    }
173

174
    public NFNotaMotivoDesoneracaoICMS getDesoneracao() {
UNCOV
175
        return this.desoneracao;
×
176
    }
177
}
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