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

wmixvideo / nfe / #7148

04 Dec 2025 02:00PM UTC coverage: 52.281% (+25.3%) from 26.996%
#7148

push

web-flow
Ajuste conforme CTe_Nota_Tecnica_2025_001_RTC_v1.10 (#1126)

* Merge from master

* Revert "Merge from master"

This reverts commit e2ed141c3.

* Revert "Revert "Merge from master""

This reverts commit 05781623b.

* Adição do campo indDoacao e grupo de informações de estorno de crédito. Exclusão do grupo de informações do crédito presumido por não se aplicar aos cClassTrib associados ao CTe. Conforme CTe_Nota_Tecnica_2025_001_RTC_v1.10.

103 of 276 new or added lines in 17 files covered. (37.32%)

2968 existing lines in 404 files now uncovered.

14761 of 28234 relevant lines covered (52.28%)

0.52 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() {
UNCOV
29
        return this.descricaoDeducao;
×
30
    }
31

32
    public String getValorDeducao() {
UNCOV
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