• 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

0.0
/src/main/java/com/fincatto/documentofiscal/mdfe3/classes/nota/consulta/MDFeNotaConsulta.java
1
package com.fincatto.documentofiscal.mdfe3.classes.nota.consulta;
2

3
import com.fincatto.documentofiscal.DFAmbiente;
4
import com.fincatto.documentofiscal.DFBase;
5
import com.fincatto.documentofiscal.validadores.DFBigDecimalValidador;
6
import com.fincatto.documentofiscal.validadores.DFStringValidador;
7
import org.simpleframework.xml.Attribute;
8
import org.simpleframework.xml.Element;
9
import org.simpleframework.xml.Namespace;
10
import org.simpleframework.xml.Root;
11

12
import java.math.BigDecimal;
13

14
@Root(name = "consSitMDFe")
15
@Namespace(reference = "http://www.portalfiscal.inf.br/mdfe")
16
public class MDFeNotaConsulta extends DFBase {
×
17
    private static final long serialVersionUID = -6782722764188583523L;
18

19
    @Attribute(name = "versao")
20
    private String versao;
21

22
    @Element(name = "tpAmb")
23
    private DFAmbiente ambiente;
24

25
    @Element(name = "xServ")
26
    private String servico;
27

28
    @Element(name = "chMDFe")
29
    private String chave;
30

31
    public void setVersao(final BigDecimal versao) {
32
        this.versao = DFBigDecimalValidador.tamanho4Com2CasasDecimais(versao, "Versao Nota Consulta");
×
UNCOV
33
    }
×
34

35
    public void setAmbiente(final DFAmbiente ambiente) {
36
        this.ambiente = ambiente;
×
UNCOV
37
    }
×
38

39
    public void setServico(final String servico) {
40
        this.servico = servico;
×
UNCOV
41
    }
×
42

43
    public void setChave(final String chave) {
44
        DFStringValidador.exatamente44N(chave, "Chave de Acesso Nota Consulta");
×
45
        this.chave = chave;
×
UNCOV
46
    }
×
47

48
    public String getVersao() {
UNCOV
49
        return this.versao;
×
50
    }
51

52
    public DFAmbiente getAmbiente() {
UNCOV
53
        return this.ambiente;
×
54
    }
55

56
    public String getServico() {
UNCOV
57
        return this.servico;
×
58
    }
59

60
    public String getChave() {
UNCOV
61
        return this.chave;
×
62
    }
63
}
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