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

wmixvideo / nfe / #9124

25 May 2026 01:08PM UTC coverage: 50.829% (+0.5%) from 50.346%
#9124

push

web-flow
Merge branch 'wmixvideo:master' into master

43 of 99 new or added lines in 79 files covered. (43.43%)

14922 of 29357 relevant lines covered (50.83%)

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/cte300/classes/nota/CTeNotaInfoCTeAnulacao.java
1
package com.fincatto.documentofiscal.cte300.classes.nota;
2

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

9
import java.time.LocalDate;
10

11
/**
12
 * @author Caio
13
 * @info Detalhamento do CT-e do tipo Anulação
14
 */
15

16
@Root(name = "infCteAnu")
17
@Namespace(reference = "http://www.portalfiscal.inf.br/cte")
18
public class CTeNotaInfoCTeAnulacao extends DFBase {
19
    private static final long serialVersionUID = -8393627804759742007L;
20
    
21
    @Element(name = "chCte")
22
    private String chave;
23
    
24
    @Element(name = "dEmi")
25
    private LocalDate dataEmissao;
26

27
    public CTeNotaInfoCTeAnulacao() {
×
28
        this.chave = null;
×
29
        this.dataEmissao = null;
×
30
    }
×
31

32
    public String getChave() {
33
        return this.chave;
×
34
    }
35

36
    /**
37
     * Chave de acesso do CT-e original a ser anulado e substituído
38
     */
39
    public void setChave(final String chave) {
NEW
40
        DFStringValidador.exatamente44(chave, "Chave de acesso do CT-e original a ser anulado e substituído");
×
41
        this.chave = chave;
×
42
    }
×
43

44
    public LocalDate getDataEmissao() {
45
        return this.dataEmissao;
×
46
    }
47

48
    /**
49
     * Data de emissão da declaração do tomador não contribuinte do ICMS
50
     */
51
    public void setDataEmissao(final LocalDate dataEmissao) {
52
        this.dataEmissao = dataEmissao;
×
53
    }
×
54
}
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