• 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

67.86
/src/main/java/com/fincatto/documentofiscal/nfe310/classes/nota/NFNotaInfoItemImpostoICMS20.java
1
package com.fincatto.documentofiscal.nfe310.classes.nota;
2

3
import com.fincatto.documentofiscal.DFBase;
4
import com.fincatto.documentofiscal.nfe310.classes.NFNotaInfoImpostoTributacaoICMS;
5
import com.fincatto.documentofiscal.nfe310.classes.NFNotaInfoItemModalidadeBCICMS;
6
import com.fincatto.documentofiscal.nfe310.classes.NFNotaMotivoDesoneracaoICMS;
7
import com.fincatto.documentofiscal.nfe310.classes.NFOrigem;
8
import com.fincatto.documentofiscal.validadores.DFBigDecimalValidador;
9
import org.simpleframework.xml.Element;
10

11
import java.math.BigDecimal;
12

13
public class NFNotaInfoItemImpostoICMS20 extends DFBase {
1✔
14
    private static final long serialVersionUID = -7632059708755735047L;
15
    
16
    @Element(name = "orig")
17
    private NFOrigem origem;
18
    
19
    @Element(name = "CST")
20
    private NFNotaInfoImpostoTributacaoICMS situacaoTributaria;
21
    
22
    @Element(name = "modBC")
23
    private NFNotaInfoItemModalidadeBCICMS modalidadeBCICMS;
24
    
25
    @Element(name = "pRedBC")
26
    private String percentualReducaoBC;
27
    
28
    @Element(name = "vBC")
29
    private String valorBCICMS;
30
    
31
    @Element(name = "pICMS")
32
    private String percentualAliquota;
33
    
34
    @Element(name = "vICMS")
35
    private String valorTributo;
36

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

40
    @Element(name = "motDesICMS", required = false)
41
    private NFNotaMotivoDesoneracaoICMS desoneracao;
42

43
    public void setOrigem(final NFOrigem origem) {
44
        this.origem = origem;
1✔
45
    }
1✔
46

47
    public void setSituacaoTributaria(final NFNotaInfoImpostoTributacaoICMS situacaoTributaria) {
48
        this.situacaoTributaria = situacaoTributaria;
1✔
49
    }
1✔
50

51
    public void setModalidadeBCICMS(final NFNotaInfoItemModalidadeBCICMS modalidadeBCICMS) {
52
        this.modalidadeBCICMS = modalidadeBCICMS;
1✔
53
    }
1✔
54

55
    public void setPercentualReducaoBC(final BigDecimal percentualReducaoBC) {
56
        this.percentualReducaoBC = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(percentualReducaoBC, "Percentual Reducao BC ICMS20 Item");
1✔
57
    }
1✔
58

59
    public void setValorBCICMS(final BigDecimal valorBCICMS) {
60
        this.valorBCICMS = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorBCICMS, "Valor BC ICMS ICMS20 Item");
1✔
61
    }
1✔
62

63
    public void setPercentualAliquota(final BigDecimal aliquota) {
64
        this.percentualAliquota = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(aliquota, "Aliquota ICMS20 Item");
1✔
65
    }
1✔
66

67
    public void setValorTributo(final BigDecimal valorTributo) {
68
        this.valorTributo = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorTributo, "Valor Tributo ICMS20 Item");
1✔
69
    }
1✔
70

71
    public void setDesoneracao(final NFNotaMotivoDesoneracaoICMS outros) {
72
        this.desoneracao = outros;
1✔
73
    }
1✔
74

75
    public void setValorICMSDesoneracao(final BigDecimal valorICMSDesoneracao) {
76
        this.valorICMSDesoneracao = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorICMSDesoneracao, "Valor ICMS Desoneracao ICMS20 Item");
1✔
77
    }
1✔
78

79
    public NFOrigem getOrigem() {
UNCOV
80
        return this.origem;
×
81
    }
82

83
    public NFNotaInfoImpostoTributacaoICMS getSituacaoTributaria() {
UNCOV
84
        return this.situacaoTributaria;
×
85
    }
86

87
    public NFNotaInfoItemModalidadeBCICMS getModalidadeBCICMS() {
UNCOV
88
        return this.modalidadeBCICMS;
×
89
    }
90

91
    public String getPercentualReducaoBC() {
UNCOV
92
        return this.percentualReducaoBC;
×
93
    }
94

95
    public String getValorBCICMS() {
UNCOV
96
        return this.valorBCICMS;
×
97
    }
98

99
    public String getPercentualAliquota() {
UNCOV
100
        return this.percentualAliquota;
×
101
    }
102

103
    public String getValorTributo() {
UNCOV
104
        return this.valorTributo;
×
105
    }
106

107
    public String getValorICMSDesoneracao() {
UNCOV
108
        return this.valorICMSDesoneracao;
×
109
    }
110

111
    public NFNotaMotivoDesoneracaoICMS getDesoneracao() {
UNCOV
112
        return this.desoneracao;
×
113
    }
114
}
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