• 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/NFNotaInfoItemImpostoICMS30.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.NFNotaInfoItemModalidadeBCICMSST;
10
import com.fincatto.nfe310.classes.NFNotaMotivoDesoneracaoICMS;
11
import com.fincatto.nfe310.classes.NFOrigem;
12
import com.fincatto.nfe310.validadores.BigDecimalParser;
13

14
public class NFNotaInfoItemImpostoICMS30 extends NFBase {
18✔
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 = "modBCST", required = true)
22
    private NFNotaInfoItemModalidadeBCICMSST modalidadeDeterminacaoBC;
23

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

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

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

33
    @Element(name = "pICMSST", required = true)
34
    private String percentualAliquotaImpostoICMSST;
35

36
    @Element(name = "vICMSST", required = true)
37
    private String valorImpostoICMSST;
38

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

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

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

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

53
    public void setModalidadeDeterminacaoBC(final NFNotaInfoItemModalidadeBCICMSST modalidadeDeterminacaoBC) {
54
        this.modalidadeDeterminacaoBC = modalidadeDeterminacaoBC;
10✔
55
    }
10✔
56

57
    public void setPercentualMargemValorAdicionadoICMSST(final BigDecimal percentualMargemValorAdicionadoICMSST) {
58
        this.percentualMargemValorAdicionadoICMSST = BigDecimalParser.tamanho7ComAte4CasasDecimais(percentualMargemValorAdicionadoICMSST);
11✔
59
    }
10✔
60

61
    public void setPercentualReducaoBCICMSST(final BigDecimal percentualReducaoBCICMSST) {
62
        this.percentualReducaoBCICMSST = BigDecimalParser.tamanho7ComAte4CasasDecimais(percentualReducaoBCICMSST);
11✔
63
    }
10✔
64

65
    public void setValorBCICMSST(final BigDecimal valorBCICMSST) {
66
        this.valorBCICMSST = BigDecimalParser.tamanho15Com2CasasDecimais(valorBCICMSST);
11✔
67
    }
10✔
68

69
    public void setPercentualAliquotaImpostoICMSST(final BigDecimal aliquotaImpostoICMSST) {
70
        this.percentualAliquotaImpostoICMSST = BigDecimalParser.tamanho7ComAte4CasasDecimais(aliquotaImpostoICMSST);
11✔
71
    }
10✔
72

73
    public void setValorImpostoICMSST(final BigDecimal valorImpostoICMSST) {
74
        this.valorImpostoICMSST = BigDecimalParser.tamanho15Com2CasasDecimais(valorImpostoICMSST);
11✔
75
    }
10✔
76

77
    public void setDesoneracao(final NFNotaMotivoDesoneracaoICMS nfNotaMotivoDesoneracaoICMS) {
78
        this.desoneracao = nfNotaMotivoDesoneracaoICMS;
10✔
79
    }
10✔
80

81
    public void setValorICMSDesoneracao(final BigDecimal valorICMSDesoneracao) {
82
        this.valorICMSDesoneracao = BigDecimalParser.tamanho15Com2CasasDecimais(valorICMSDesoneracao);
10✔
83
    }
10✔
84

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

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

93
    public NFNotaInfoItemModalidadeBCICMSST getModalidadeDeterminacaoBC() {
94
        return this.modalidadeDeterminacaoBC;
×
95
    }
96

97
    public String getPercentualMargemValorAdicionadoICMSST() {
98
        return this.percentualMargemValorAdicionadoICMSST;
×
99
    }
100

101
    public String getPercentualReducaoBCICMSST() {
102
        return this.percentualReducaoBCICMSST;
×
103
    }
104

105
    public String getValorBCICMSST() {
106
        return this.valorBCICMSST;
×
107
    }
108

109
    public String getPercentualAliquotaImpostoICMSST() {
110
        return this.percentualAliquotaImpostoICMSST;
×
111
    }
112

113
    public String getValorImpostoICMSST() {
114
        return this.valorImpostoICMSST;
×
115
    }
116

117
    public String getValorICMSDesoneracao() {
118
        return this.valorICMSDesoneracao;
×
119
    }
120

121
    public NFNotaMotivoDesoneracaoICMS getDesoneracao() {
122
        return this.desoneracao;
×
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