• 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

67.74
/src/main/java/com/fincatto/documentofiscal/nfe310/classes/nota/NFNotaInfoItemImpostoICMS51.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.NFOrigem;
7
import com.fincatto.documentofiscal.validadores.DFBigDecimalValidador;
8
import org.simpleframework.xml.Element;
9

10
import java.math.BigDecimal;
11

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

21
    @Element(name = "modBC", required = false)
22
    private NFNotaInfoItemModalidadeBCICMS modalidadeBCICMS;
23

24
    @Element(name = "pRedBC", required = false)
25
    private String percentualReducaoBC;
26

27
    @Element(name = "vBC", required = false)
28
    private String valorBCICMS;
29

30
    @Element(name = "pICMS", required = false)
31
    private String percentualICMS;
32

33
    @Element(name = "vICMSOp", required = false)
34
    private String valorICMSOperacao;
35

36
    @Element(name = "pDif", required = false)
37
    private String percentualDiferimento;
38

39
    @Element(name = "vICMSDif", required = false)
40
    private String valorICMSDiferimento;
41

42
    @Element(name = "vICMS", required = false)
43
    private String valorICMS;
44

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

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

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

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

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

65
    public void setPercentualICMS(final BigDecimal percentualICMS) {
66
        this.percentualICMS = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(percentualICMS, "Percentual ICMS ICMS51 Item");
1✔
67
    }
1✔
68

69
    public void setValorICMS(final BigDecimal valorICMS) {
70
        this.valorICMS = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorICMS, "Valor ICMS ICMS51 Item");
1✔
71
    }
1✔
72

73
    public void setPercentualDiferimento(final BigDecimal percentualDiferimento) {
74
        this.percentualDiferimento = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(percentualDiferimento, "Percentual Diferimento ICMS51 Item");
1✔
75
    }
1✔
76

77
    public void setValorICMSDiferimento(final BigDecimal valorICMSDiferimento) {
78
        this.valorICMSDiferimento = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorICMSDiferimento, "Valor ICMS Diferimento ICMS51 Item");
1✔
79
    }
1✔
80

81
    public void setValorICMSOperacao(final BigDecimal valorICMSOperacao) {
82
        this.valorICMSOperacao = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorICMSOperacao, "Valor ICMS Operacao ICMS51 Item");
1✔
83
    }
1✔
84

85
    public NFOrigem getOrigem() {
86
        return this.origem;
×
87
    }
88

89
    public NFNotaInfoImpostoTributacaoICMS getSituacaoTributaria() {
90
        return this.situacaoTributaria;
×
91
    }
92

93
    public NFNotaInfoItemModalidadeBCICMS getModalidadeBCICMS() {
94
        return this.modalidadeBCICMS;
×
95
    }
96

97
    public String getPercentualReducaoBC() {
98
        return this.percentualReducaoBC;
×
99
    }
100

101
    public String getValorBCICMS() {
102
        return this.valorBCICMS;
×
103
    }
104

105
    public String getPercentualICMS() {
106
        return this.percentualICMS;
×
107
    }
108

109
    public String getValorICMSOperacao() {
110
        return this.valorICMSOperacao;
×
111
    }
112

113
    public String getPercentualDiferimento() {
114
        return this.percentualDiferimento;
×
115
    }
116

117
    public String getValorICMSDiferimento() {
118
        return this.valorICMSDiferimento;
×
119
    }
120

121
    public String getValorICMS() {
122
        return this.valorICMS;
×
123
    }
124
}
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