• 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

70.0
/src/main/java/com/fincatto/documentofiscal/nfe310/classes/nota/NFNotaInfoPagamento.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 org.simpleframework.xml.Element;
6

7
import java.math.BigDecimal;
8

9
public class NFNotaInfoPagamento extends DFBase {
1✔
10
    private static final long serialVersionUID = -2613537583415054150L;
11
    
12
    @Element(name = "tPag")
13
    private NFFormaPagamentoMoeda formaPagamentoMoeda;
14
    
15
    @Element(name = "vPag")
16
    private String valorPagamento;
17

18
    @Element(name = "card", required = false)
19
    private NFNotaInfoCartao cartao;
20

21
    public void setCartao(final NFNotaInfoCartao cartao) {
22
        this.cartao = cartao;
1✔
23
    }
1✔
24

25
    public void setFormaPagamentoMoeda(final NFFormaPagamentoMoeda formaPagamentoMoeda) {
26
        this.formaPagamentoMoeda = formaPagamentoMoeda;
1✔
27
    }
1✔
28

29
    public void setValorPagamento(final BigDecimal valorPagamento) {
30
        this.valorPagamento = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorPagamento, "Valor Pagamento");
1✔
31
    }
1✔
32

33
    public NFFormaPagamentoMoeda getFormaPagamentoMoeda() {
34
        return this.formaPagamentoMoeda;
×
35
    }
36

37
    public String getValorPagamento() {
38
        return this.valorPagamento;
×
39
    }
40

41
    public NFNotaInfoCartao getCartao() {
42
        return this.cartao;
×
43
    }
44
}
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