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

3
import org.simpleframework.xml.Element;
4
import org.simpleframework.xml.Namespace;
5
import org.simpleframework.xml.Root;
6

7
import com.fincatto.documentofiscal.DFBase;
8
import com.fincatto.documentofiscal.validadores.DFStringValidador;
9

10
/**
11
 * @author Caio
12
 * @info Autorizados para download do XML do DF-e<br>
13
 *       Informar CNPJ ou CPF. Preencher os zeros não significativos.
14
 */
15

16
@Root(name = "autXML")
17
@Namespace(reference = "http://www.portalfiscal.inf.br/cte")
18
public class CTeNotaInfoAutorizacaoDownload extends DFBase {
19
    private static final long serialVersionUID = -8331590732384623418L;
20

21
    @Element(name = "CNPJ", required = false)
22
    private String cnpj;
23

24
    @Element(name = "CPF", required = false)
25
    private String cpf;
26

NEW
27
    public CTeNotaInfoAutorizacaoDownload() {
×
NEW
28
        this.cnpj = null;
×
NEW
29
        this.cpf = null;
×
NEW
30
    }
×
31

32
    public String getCnpj() {
NEW
33
        return this.cnpj;
×
34
    }
35

36
    /**
37
     * CNPJ do autorizado<br>
38
     * Informar zeros não significativos
39
     */
40
    public void setCnpj(final String cnpj) {
NEW
41
        DFStringValidador.cnpj(cnpj);
×
NEW
42
        this.cnpj = cnpj;
×
NEW
43
    }
×
44

45
    public String getCpf() {
NEW
46
        return this.cpf;
×
47
    }
48

49
    /**
50
     * CPF do autorizado<br>
51
     * Informar zeros não significativos
52
     */
53
    public void setCpf(final String cpf) {
NEW
54
        DFStringValidador.cpf(cpf);
×
NEW
55
        this.cpf = cpf;
×
NEW
56
    }
×
57
}
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