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

wmixvideo / nfe / #7632

23 Jul 2025 01:31AM UTC coverage: 51.794% (+24.8%) from 26.994%
#7632

push

web-flow
Merge e37a5245a into cb8c6ab74

122 of 122 new or added lines in 1 file covered. (100.0%)

2980 existing lines in 402 files now uncovered.

14360 of 27725 relevant lines covered (51.79%)

0.52 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