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

wmixvideo / nfe / #9459

24 Jun 2025 01:09AM UTC coverage: 51.378% (+0.5%) from 50.851%
#9459

push

web-flow
Merge 0ce3effce into bb9f583b3

14003 of 27255 relevant lines covered (51.38%)

0.51 hits per line

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

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

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

13
import java.math.BigDecimal;
14

15
@Root(name = "consSitCTe")
16
@Namespace(reference = CTeConfig.NAMESPACE)
17
public class CTeNotaConsulta extends DFBase {
×
18
    private static final long serialVersionUID = 402162498360517770L;
19
    
20
    @Attribute(name = "versao")
21
    private String versao;
22
    
23
    @Element(name = "tpAmb")
24
    private DFAmbiente ambiente;
25
    
26
    @Element(name = "xServ")
27
    private String servico;
28
    
29
    @Element(name = "chCTe")
30
    private String chave;
31

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

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

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

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

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

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

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

61
    public String getChave() {
62
        return this.chave;
×
63
    }
64
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc