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

wmixvideo / nfe / #7320

24 Jun 2025 02:03AM UTC coverage: 51.463% (+1.1%) from 50.377%
#7320

push

web-flow
Merge 80a657e41 into bb9f583b3

14 of 20 new or added lines in 1 file covered. (70.0%)

812 existing lines in 45 files now uncovered.

14018 of 27239 relevant lines covered (51.46%)

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/nfe400/classes/evento/epec/NFDestinatarioEpec.java
1
package com.fincatto.documentofiscal.nfe400.classes.evento.epec;
2

3
import com.fincatto.documentofiscal.validadores.DFStringValidador;
4
import org.simpleframework.xml.Element;
5

6

7
public class NFDestinatarioEpec {
×
8

9
        @Element(name = "UF", required = true)
10
        protected String ufDestinatario;
11

12
        @Element(name = "CNPJ", required = false)
13
        protected String cnpj;
14

15
        @Element(name = "CPF", required = false)
16
        protected String cpf;
17

18
        @Element(name = "idEstrangeiro", required = false)
19
        protected String idEstrangeiro;
20

21
        @Element(name = "IE", required = false)
22
        protected String inscricaoEstadualDestinatario;
23

24
        @Element(name = "vNF", required = true)
25
        protected String valorTotalNFe;
26

27
        @Element(name = "vICMS", required = true)
28
        protected String valorTotalIcms;
29

30
        @Element(name = "vST", required = true)
31
        protected String valorTotalIcmsSubstituicaoTributaria;
32

33
        public String getUfDestinatario() {
34
                return ufDestinatario;
×
35
        }
36

37
        public void setUfDestinatario(String ufDestinatario) {
38
                this.ufDestinatario = ufDestinatario;
×
39
        }
×
40

41
        public String getCnpj() {
42
                return cnpj;
×
43
        }
44

45
        public void setCnpj(String cnpj) {
46
                if (this.cpf != null) {
×
47
            throw new IllegalStateException("CPF ja foi setado");
×
48
        }
UNCOV
49
        DFStringValidador.cnpj(cnpj);
×
UNCOV
50
        this.cnpj = cnpj;
×
51
        }
×
52

53
        public String getCpf() {
UNCOV
54
                return cpf;
×
55
        }
56

57
        public void setCpf(String cpf) {
UNCOV
58
                if (this.cnpj != null) {
×
UNCOV
59
            throw new IllegalStateException("CNPJ ja foi setado");
×
60
        }
UNCOV
61
        DFStringValidador.cpf(cpf);
×
UNCOV
62
        this.cpf = cpf;
×
UNCOV
63
        }
×
64

65
        public String getIdEstrangeiro() {
UNCOV
66
                return idEstrangeiro;
×
67
        }
68

69
        public void setIdEstrangeiro(String idEstrangeiro) {
UNCOV
70
                this.idEstrangeiro = idEstrangeiro;
×
UNCOV
71
        }
×
72

73
        public String getInscricaoEstadualDestinatario() {
UNCOV
74
                return inscricaoEstadualDestinatario;
×
75
        }
76

77
        public void setInscricaoEstadualDestinatario(String inscricaoEstadualDestinatario) {
UNCOV
78
                this.inscricaoEstadualDestinatario = inscricaoEstadualDestinatario;
×
UNCOV
79
        }
×
80

81
        public String getValorTotalNFe() {
UNCOV
82
                return valorTotalNFe;
×
83
        }
84

85
        public void setValorTotalNFe(String valorTotalNFe) {
UNCOV
86
                this.valorTotalNFe = valorTotalNFe;
×
UNCOV
87
        }
×
88

89
        public String getValorTotalIcms() {
UNCOV
90
                return valorTotalIcms;
×
91
        }
92

93
        public void setValorTotalIcms(String valorTotalIcms) {
UNCOV
94
                this.valorTotalIcms = valorTotalIcms;
×
UNCOV
95
        }
×
96

97
        public String getValorTotalIcmsSubstituicaoTributaria() {
UNCOV
98
                return valorTotalIcmsSubstituicaoTributaria;
×
99
        }
100

101
        public void setValorTotalIcmsSubstituicaoTributaria(String valorTotalIcmsSubstituicaoTributaria) {
UNCOV
102
                this.valorTotalIcmsSubstituicaoTributaria = valorTotalIcmsSubstituicaoTributaria;
×
UNCOV
103
        }
×
104

105
}
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