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

wmixvideo / nfe / #6290

19 Apr 2016 08:37PM UTC coverage: 80.934% (+2.4%) from 78.549%
#6290

push

travis-ci

fincatto
Corrigido testes.

4470 of 5523 relevant lines covered (80.93%)

52.06 hits per line

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

67.74
/src/main/java/com/fincatto/nfe310/classes/nota/NFNotaInfoItemImpostoICMS51.java
1
package com.fincatto.nfe310.classes.nota;
2

3
import java.math.BigDecimal;
4

5
import org.simpleframework.xml.Element;
6

7
import com.fincatto.nfe310.classes.NFBase;
8
import com.fincatto.nfe310.classes.NFNotaInfoImpostoTributacaoICMS;
9
import com.fincatto.nfe310.classes.NFNotaInfoItemImpostoICMSModalidadeBaseCalculo;
10
import com.fincatto.nfe310.classes.NFOrigem;
11
import com.fincatto.nfe310.validadores.BigDecimalParser;
12

13
public class NFNotaInfoItemImpostoICMS51 extends NFBase {
17✔
14
    @Element(name = "orig", required = true)
15
    private NFOrigem origem;
16

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

20
    @Element(name = "modBC", required = false)
21
    private NFNotaInfoItemImpostoICMSModalidadeBaseCalculo modalidadeBC;
22

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

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

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

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

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

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

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

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

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

52
    public void setModalidadeBC(final NFNotaInfoItemImpostoICMSModalidadeBaseCalculo modalidadeBC) {
53
        this.modalidadeBC = modalidadeBC;
10✔
54
    }
10✔
55

56
    public void setPercentualReducaoBC(final BigDecimal percentualReducaoBC) {
57
        this.percentualReducaoBC = BigDecimalParser.tamanho7ComAte4CasasDecimais(percentualReducaoBC);
11✔
58
    }
10✔
59

60
    public void setValorBCICMS(final BigDecimal valorBCICMS) {
61
        this.valorBCICMS = BigDecimalParser.tamanho15Com2CasasDecimais(valorBCICMS);
11✔
62
    }
10✔
63

64
    public void setPercentualICMS(final BigDecimal percentualICMS) {
65
        this.percentualICMS = BigDecimalParser.tamanho5Com2CasasDecimais(percentualICMS);
11✔
66
    }
10✔
67

68
    public void setValorICMS(final BigDecimal valorICMS) {
69
        this.valorICMS = BigDecimalParser.tamanho15Com2CasasDecimais(valorICMS);
11✔
70
    }
10✔
71

72
    public void setPercentualDiferimento(final BigDecimal percentualDiferimento) {
73
        this.percentualDiferimento = BigDecimalParser.tamanho7ComAte4CasasDecimais(percentualDiferimento);
10✔
74
    }
10✔
75

76
    public void setValorICMSDiferimento(final BigDecimal valorICMSDiferimento) {
77
        this.valorICMSDiferimento = BigDecimalParser.tamanho15Com2CasasDecimais(valorICMSDiferimento);
10✔
78
    }
10✔
79

80
    public void setValorICMSOperacao(final BigDecimal valorICMSOperacao) {
81
        this.valorICMSOperacao = BigDecimalParser.tamanho15Com2CasasDecimais(valorICMSOperacao);
10✔
82
    }
10✔
83

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

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

92
    public NFNotaInfoItemImpostoICMSModalidadeBaseCalculo getModalidadeBC() {
93
        return this.modalidadeBC;
×
94
    }
95

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

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

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

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

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

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

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