• 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.57
/src/main/java/com/fincatto/nfe310/classes/nota/NFNotaInfoItemImpostoICMS10.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.NFNotaInfoItemModalidadeBCICMSST;
11
import com.fincatto.nfe310.classes.NFOrigem;
12
import com.fincatto.nfe310.validadores.BigDecimalParser;
13

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

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

21
    @Element(name = "modBC", required = true)
22
    private NFNotaInfoItemImpostoICMSModalidadeBaseCalculo modalidadeBaseCalculo;
23

24
    @Element(name = "vBC", required = true)
25
    private String valorBaseCalculo;
26

27
    @Element(name = "pICMS", required = true)
28
    private String percentualAliquota;
29

30
    @Element(name = "vICMS", required = true)
31
    private String valorTributo;
32

33
    @Element(name = "modBCST", required = true)
34
    private NFNotaInfoItemModalidadeBCICMSST modalidadeDeterminacaoBCICMS;
35

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

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

42
    @Element(name = "vBCST", required = true)
43
    private String valorBCICMSST;
44

45
    @Element(name = "pICMSST", required = true)
46
    private String percentualAliquotaImpostoICMSST;
47

48
    @Element(name = "vICMSST", required = true)
49
    private String valorICMSST;
50

51
    public void setOrigem(final NFOrigem origem) {
52
        this.origem = origem;
12✔
53
    }
12✔
54

55
    public void setSituacaoTributaria(final NFNotaInfoImpostoTributacaoICMS situacaoTributaria) {
56
        this.situacaoTributaria = situacaoTributaria;
12✔
57
    }
12✔
58

59
    public void setModalidadeBaseCalculo(final NFNotaInfoItemImpostoICMSModalidadeBaseCalculo modalidadeBaseCalculo) {
60
        this.modalidadeBaseCalculo = modalidadeBaseCalculo;
12✔
61
    }
12✔
62

63
    public void setValorBaseCalculo(final BigDecimal valorBaseCalculo) {
64
        this.valorBaseCalculo = BigDecimalParser.tamanho15Com2CasasDecimais(valorBaseCalculo);
13✔
65
    }
12✔
66

67
    public void setPercentualAliquota(final BigDecimal aliquota) {
68
        this.percentualAliquota = BigDecimalParser.tamanho5Com2CasasDecimais(aliquota);
13✔
69
    }
12✔
70

71
    public void setValorTributo(final BigDecimal valorTributo) {
72
        this.valorTributo = BigDecimalParser.tamanho15Com2CasasDecimais(valorTributo);
13✔
73
    }
12✔
74

75
    public void setModalidadeDeterminacaoBCICMS(final NFNotaInfoItemModalidadeBCICMSST modalidadeDeterminacaoBCICMS) {
76
        this.modalidadeDeterminacaoBCICMS = modalidadeDeterminacaoBCICMS;
12✔
77
    }
12✔
78

79
    public void setPercentualMargemValorICMSST(final BigDecimal percentualMargemValorICMSST) {
80
        this.percentualMargemValorICMSST = BigDecimalParser.tamanho7ComAte4CasasDecimais(percentualMargemValorICMSST);
13✔
81
    }
12✔
82

83
    public void setPercentualReducaoBCICMSST(final BigDecimal percentualReducaoBCICMSST) {
84
        this.percentualReducaoBCICMSST = BigDecimalParser.tamanho7ComAte4CasasDecimais(percentualReducaoBCICMSST);
13✔
85
    }
12✔
86

87
    public void setValorBCICMSST(final BigDecimal valorBCICMSST) {
88
        this.valorBCICMSST = BigDecimalParser.tamanho15Com2CasasDecimais(valorBCICMSST);
13✔
89
    }
12✔
90

91
    public void setPercentualAliquotaImpostoICMSST(final BigDecimal aliquotaImpostoICMSST) {
92
        this.percentualAliquotaImpostoICMSST = BigDecimalParser.tamanho7ComAte4CasasDecimais(aliquotaImpostoICMSST);
13✔
93
    }
12✔
94

95
    public void setValorICMSST(final BigDecimal valorICMSST) {
96
        this.valorICMSST = BigDecimalParser.tamanho15Com2CasasDecimais(valorICMSST);
13✔
97
    }
12✔
98

99
    public NFOrigem getOrigem() {
100
        return this.origem;
×
101
    }
102

103
    public NFNotaInfoImpostoTributacaoICMS getSituacaoTributaria() {
104
        return this.situacaoTributaria;
×
105
    }
106

107
    public NFNotaInfoItemImpostoICMSModalidadeBaseCalculo getModalidadeBaseCalculo() {
108
        return this.modalidadeBaseCalculo;
×
109
    }
110

111
    public String getValorBaseCalculo() {
112
        return this.valorBaseCalculo;
×
113
    }
114

115
    public String getPercentualAliquota() {
116
        return this.percentualAliquota;
×
117
    }
118

119
    public String getValorTributo() {
120
        return this.valorTributo;
×
121
    }
122

123
    public NFNotaInfoItemModalidadeBCICMSST getModalidadeDeterminacaoBCICMS() {
124
        return this.modalidadeDeterminacaoBCICMS;
×
125
    }
126

127
    public String getPercentualMargemValorICMSST() {
128
        return this.percentualMargemValorICMSST;
×
129
    }
130

131
    public String getPercentualReducaoBCICMSST() {
132
        return this.percentualReducaoBCICMSST;
×
133
    }
134

135
    public String getValorBCICMSST() {
136
        return this.valorBCICMSST;
×
137
    }
138

139
    public String getPercentualAliquotaImpostoICMSST() {
140
        return this.percentualAliquotaImpostoICMSST;
×
141
    }
142

143
    public String getValorICMSST() {
144
        return this.valorICMSST;
×
145
    }
146
}
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