• 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

61.54
/src/main/java/com/fincatto/documentofiscal/nfe310/classes/nota/NFNotaInfoDuplicata.java
1
package com.fincatto.documentofiscal.nfe310.classes.nota;
2

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

8
import java.math.BigDecimal;
9
import java.time.LocalDate;
10

11
public class NFNotaInfoDuplicata extends DFBase {
1✔
12
    private static final long serialVersionUID = 4401957395684813604L;
13

14
    @Element(name = "nDup", required = false)
15
    private String numeroDuplicata;
16

17
    @Element(name = "dVenc", required = false)
18
    private LocalDate dataVencimento;
19
    
20
    @Element(name = "vDup")
21
    private String valorDuplicata;
22

23
    public void setNumeroDuplicata(final String numeroDuplicata) {
24
        DFStringValidador.tamanho60(numeroDuplicata, "Numero Duplicata");
1✔
25
        this.numeroDuplicata = numeroDuplicata;
1✔
26
    }
1✔
27

28
    public void setDataVencimento(final LocalDate dataVencimento) {
29
        this.dataVencimento = dataVencimento;
1✔
30
    }
1✔
31

32
    public void setValorDuplicata(final BigDecimal valorDuplicata) {
33
        this.valorDuplicata = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorDuplicata, "Valor Duplicata");
1✔
34
    }
1✔
35

36
    public String getValorDuplicata() {
37
        return this.valorDuplicata;
×
38
    }
39

40
    public void setValorDuplicata(final String valorDuplicata) {
41
        this.valorDuplicata = valorDuplicata;
×
42
    }
×
43

44
    public String getNumeroDuplicata() {
45
        return this.numeroDuplicata;
×
46
    }
47

48
    public LocalDate getDataVencimento() {
49
        return this.dataVencimento;
×
50
    }
51
}
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