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

wmixvideo / nfe / #6266

21 Mar 2025 11:46AM UTC coverage: 52.671% (+25.7%) from 26.996%
#6266

push

luciano.antunes
Nota Fiscal Fácil

0 of 21 new or added lines in 2 files covered. (0.0%)

2924 existing lines in 401 files now uncovered.

14002 of 26584 relevant lines covered (52.67%)

0.53 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/CTeNotaInfoRecebedorCarga.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
/**
10
 * @author Caio
11
 * @info Informações do Recebedor da Carga
12
 */
13

14
@Root(name = "receb")
15
@Namespace(reference = "http://www.portalfiscal.inf.br/cte")
16
public class CTeNotaInfoRecebedorCarga extends DFBase {
17
    private static final long serialVersionUID = 4807226772679103277L;
18

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

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

25
    @Element(name = "IE", required = false)
26
    private String inscricaoEstadual;
27
    
28
    @Element(name = "xNome")
29
    private String razaoSocial;
30

31
    @Element(name = "fone", required = false)
32
    private String telefone;
33
    
34
    @Element(name = "enderReceb")
35
    private CTeNotaEndereco endereco;
36

37
    @Element(name = "email", required = false)
38
    private String email;
39

UNCOV
40
    public CTeNotaInfoRecebedorCarga() {
×
41
        this.cnpj = null;
×
42
        this.cpf = null;
×
43
        this.inscricaoEstadual = null;
×
44
        this.razaoSocial = null;
×
45
        this.telefone = null;
×
46
        this.endereco = null;
×
47
        this.email = null;
×
48
    }
×
49

50
    public String getCnpj() {
UNCOV
51
        return this.cnpj;
×
52
    }
53

54
    /**
55
     * Número do CNPJ<br>
56
     * Em caso de empresa não estabelecida no Brasil, será informado o CNPJ com zeros. Informar os zeros não significativos.
57
     */
58
    public void setCnpj(final String cnpj) {
UNCOV
59
        DFStringValidador.cnpj(cnpj);
×
60
        this.cnpj = cnpj;
×
61
    }
×
62

63
    public String getCpf() {
UNCOV
64
        return this.cpf;
×
65
    }
66

67
    /**
68
     * Número do CPF<br>
69
     * Informar os zeros não significativos.
70
     */
71
    public void setCpf(final String cpf) {
UNCOV
72
        DFStringValidador.cpf(cpf);
×
73
        this.cpf = cpf;
×
74
    }
×
75

76
    public String getInscricaoEstadual() {
UNCOV
77
        return this.inscricaoEstadual;
×
78
    }
79

80
    /**
81
     * Inscrição Estadual<br>
82
     * Informar a IE do recebedor ou ISENTO se recebedor é contribuinte do ICMS isento de inscrição no cadastro de contribuintes do ICMS. Caso o recebedor não seja contribuinte do ICMS não informar o conteúdo.
83
     */
84
    public void setInscricaoEstadual(final String inscricaoEstadual) {
UNCOV
85
        DFStringValidador.inscricaoEstadual(inscricaoEstadual);
×
86
        this.inscricaoEstadual = inscricaoEstadual;
×
87
    }
×
88

89
    public String getRazaoSocial() {
UNCOV
90
        return this.razaoSocial;
×
91
    }
92

93
    /**
94
     * Razão Social ou Nome
95
     */
96
    public void setRazaoSocial(final String razaoSocial) {
UNCOV
97
        DFStringValidador.tamanho2ate60(razaoSocial, "Razão Social ou Nome");
×
98
        this.razaoSocial = razaoSocial;
×
99
    }
×
100

101
    public String getTelefone() {
UNCOV
102
        return this.telefone;
×
103
    }
104

105
    /**
106
     * Telefone
107
     */
108
    public void setTelefone(final String telefone) {
UNCOV
109
        DFStringValidador.telefone(telefone);
×
110
        this.telefone = telefone;
×
111
    }
×
112

113
    public CTeNotaEndereco getEndereco() {
UNCOV
114
        return this.endereco;
×
115
    }
116

117
    /**
118
     * Dados do endereço
119
     */
120
    public void setEndereco(final CTeNotaEndereco endereco) {
UNCOV
121
        this.endereco = endereco;
×
122
    }
×
123

124
    public String getEmail() {
UNCOV
125
        return this.email;
×
126
    }
127

128
    /**
129
     * Endereço de email
130
     */
131
    public void setEmail(final String email) {
UNCOV
132
        DFStringValidador.tamanho60(email, "Endereço de email");
×
133
        DFStringValidador.email(email);
×
134
        this.email = email;
×
135
    }
×
136
}
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