• 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

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() {
UNCOV
34
        return this.formaPagamentoMoeda;
×
35
    }
36

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

41
    public NFNotaInfoCartao getCartao() {
UNCOV
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