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

wmixvideo / nfe / #7074

24 Jun 2025 01:09AM UTC coverage: 51.425% (+24.4%) from 26.996%
#7074

push

web-flow
Merge 0ce3effce into bb9f583b3

14003 of 27230 relevant lines covered (51.42%)

0.51 hits per line

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

75.0
/src/main/java/com/fincatto/documentofiscal/nfe400/classes/nota/NFNotaInfoCanaDeducao.java
1
package com.fincatto.documentofiscal.nfe400.classes.nota;
2

3
import com.fincatto.documentofiscal.DFBase;
4
import com.fincatto.documentofiscal.validadores.DFBigDecimalValidador;
5
import com.fincatto.documentofiscal.validadores.DFStringValidador;
6
import org.simpleframework.xml.Element;
7

8
import java.math.BigDecimal;
9

10
public class NFNotaInfoCanaDeducao extends DFBase {
1✔
11
    private static final long serialVersionUID = 5519359886554978924L;
12
    
13
    @Element(name = "xDed")
14
    private String descricaoDeducao;
15
    
16
    @Element(name = "vDed")
17
    private String valorDeducao;
18

19
    public void setDescricaoDeducao(final String descricaoDeducao) {
20
        DFStringValidador.tamanho60(descricaoDeducao, "Descricao Deducao");
1✔
21
        this.descricaoDeducao = descricaoDeducao;
1✔
22
    }
1✔
23

24
    public void setValorDeducao(final BigDecimal valorDeducao) {
25
        this.valorDeducao = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorDeducao, "Valor Deducao");
1✔
26
    }
1✔
27

28
    public String getDescricaoDeducao() {
29
        return this.descricaoDeducao;
×
30
    }
31

32
    public String getValorDeducao() {
33
        return this.valorDeducao;
×
34
    }
35
}
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