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

wmixvideo / nfe / #6582

17 Jul 2025 09:30PM UTC coverage: 51.231% (+24.2%) from 26.996%
#6582

push

web-flow
Adequação do mapeamento de infLocalCarrega e infLocalDescarrega ao xs:choice do schema MDF-e (#1054)

* Adequação do mapeamento de infLocalCarrega e infLocalDescarrega ao xs:choice do schema MDF-e

* Adequação do mapeamento de infLocalCarrega e infLocalDescarrega ao xs:choice do schema MDF-e

14006 of 27339 relevant lines covered (51.23%)

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/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");
×
33
    }
×
34

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

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

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

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

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

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

60
    public String getChave() {
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

© 2025 Coveralls, Inc