• 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.39
/src/main/java/com/fincatto/nfe310/classes/nota/NFNotaInfoItemImpostoICMS90.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.NFNotaMotivoDesoneracaoICMS;
12
import com.fincatto.nfe310.classes.NFOrigem;
13
import com.fincatto.nfe310.validadores.BigDecimalParser;
14

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

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

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

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

28
    @Element(name = "pRedBC", required = false)
29
    private String percentualReducaoBC;
30

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

34
    @Element(name = "vICMS", required = false)
35
    private String valorTributo;
36

37
    @Element(name = "modBCST", required = false)
38
    private NFNotaInfoItemModalidadeBCICMSST modalidadeDeterminacaoBCICMSST;
39

40
    @Element(name = "pMVAST", required = false)
41
    private String percentualMargemValorAdicionadoICMSST;
42

43
    @Element(name = "pRedBCST", required = false)
44
    private String percentualReducaoBCICMSST;
45

46
    @Element(name = "vBCST", required = false)
47
    private String valorBCST;
48

49
    @Element(name = "pICMSST", required = false)
50
    private String percentualAliquotaImpostoICMSST;
51

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

55
    @Element(name = "vICMSDeson", required = false)
56
    private String valorICMSDesoneracao;
57

58
    @Element(name = "motDesICMS", required = false)
59
    private NFNotaMotivoDesoneracaoICMS desoneracao;
60

61
    public void setOrigem(final NFOrigem origem) {
62
        this.origem = origem;
15✔
63
    }
15✔
64

65
    public void setSituacaoTributaria(final NFNotaInfoImpostoTributacaoICMS situacaoTributaria) {
66
        this.situacaoTributaria = situacaoTributaria;
15✔
67
    }
15✔
68

69
    public void setModalidadeBC(final NFNotaInfoItemImpostoICMSModalidadeBaseCalculo modalidadeBC) {
70
        this.modalidadeBC = modalidadeBC;
15✔
71
    }
15✔
72

73
    public void setValorBC(final BigDecimal valorBC) {
74
        this.valorBC = BigDecimalParser.tamanho15Com2CasasDecimais(valorBC);
16✔
75
    }
15✔
76

77
    public void setPercentualReducaoBC(final BigDecimal percentualReducaoBC) {
78
        this.percentualReducaoBC = BigDecimalParser.tamanho7ComAte4CasasDecimais(percentualReducaoBC);
16✔
79
    }
15✔
80

81
    public void setPercentualAliquota(final BigDecimal aliquota) {
82
        this.percentualAliquota = BigDecimalParser.tamanho5Com2CasasDecimais(aliquota);
16✔
83
    }
15✔
84

85
    public void setValorTributo(final BigDecimal valorTributo) {
86
        this.valorTributo = BigDecimalParser.tamanho15Com2CasasDecimais(valorTributo);
16✔
87
    }
15✔
88

89
    public void setModalidadeDeterminacaoBCICMSST(final NFNotaInfoItemModalidadeBCICMSST modalidadeDeterminacaoBCICMSST) {
90
        this.modalidadeDeterminacaoBCICMSST = modalidadeDeterminacaoBCICMSST;
15✔
91
    }
15✔
92

93
    public void setPercentualMargemValorAdicionadoICMSST(final BigDecimal percentualMargemValorAdicionadoICMSST) {
94
        this.percentualMargemValorAdicionadoICMSST = BigDecimalParser.tamanho7ComAte4CasasDecimais(percentualMargemValorAdicionadoICMSST);
16✔
95
    }
15✔
96

97
    public void setPercentualReducaoBCICMSST(final BigDecimal percentualReducaoBCICMSST) {
98
        this.percentualReducaoBCICMSST = BigDecimalParser.tamanho7ComAte4CasasDecimais(percentualReducaoBCICMSST);
16✔
99
    }
15✔
100

101
    public void setValorBCST(final BigDecimal valorBCST) {
102
        this.valorBCST = BigDecimalParser.tamanho15Com2CasasDecimais(valorBCST);
16✔
103
    }
15✔
104

105
    public void setPercentualAliquotaImpostoICMSST(final BigDecimal aliquotaImpostoICMSST) {
106
        this.percentualAliquotaImpostoICMSST = BigDecimalParser.tamanho7ComAte4CasasDecimais(aliquotaImpostoICMSST);
16✔
107
    }
15✔
108

109
    public void setValorICMSST(final BigDecimal valorICMSST) {
110
        this.valorICMSST = BigDecimalParser.tamanho15Com2CasasDecimais(valorICMSST);
16✔
111
    }
15✔
112

113
    public void setDesoneracao(final NFNotaMotivoDesoneracaoICMS desoneracao) {
114
        this.desoneracao = desoneracao;
15✔
115
    }
15✔
116

117
    public void setValorICMSDesoneracao(final BigDecimal valorICMSDesoneracao) {
118
        this.valorICMSDesoneracao = BigDecimalParser.tamanho15Com2CasasDecimais(valorICMSDesoneracao);
15✔
119
    }
15✔
120

121
    public NFOrigem getOrigem() {
122
        return this.origem;
×
123
    }
124

125
    public NFNotaInfoImpostoTributacaoICMS getSituacaoTributaria() {
126
        return this.situacaoTributaria;
×
127
    }
128

129
    public NFNotaInfoItemImpostoICMSModalidadeBaseCalculo getModalidadeBC() {
130
        return this.modalidadeBC;
×
131
    }
132

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

137
    public String getPercentualReducaoBC() {
138
        return this.percentualReducaoBC;
×
139
    }
140

141
    public String getPercentualAliquota() {
142
        return this.percentualAliquota;
×
143
    }
144

145
    public String getValorTributo() {
146
        return this.valorTributo;
×
147
    }
148

149
    public NFNotaInfoItemModalidadeBCICMSST getModalidadeDeterminacaoBCICMSST() {
150
        return this.modalidadeDeterminacaoBCICMSST;
×
151
    }
152

153
    public String getPercentualMargemValorAdicionadoICMSST() {
154
        return this.percentualMargemValorAdicionadoICMSST;
×
155
    }
156

157
    public String getPercentualReducaoBCICMSST() {
158
        return this.percentualReducaoBCICMSST;
×
159
    }
160

161
    public String getValorBCST() {
162
        return this.valorBCST;
×
163
    }
164

165
    public String getPercentualAliquotaImpostoICMSST() {
166
        return this.percentualAliquotaImpostoICMSST;
×
167
    }
168

169
    public String getValorICMSST() {
170
        return this.valorICMSST;
×
171
    }
172

173
    public String getValorICMSDesoneracao() {
174
        return this.valorICMSDesoneracao;
×
175
    }
176

177
    public NFNotaMotivoDesoneracaoICMS getDesoneracao() {
178
        return this.desoneracao;
×
179
    }
180
}
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