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

wmixvideo / nfe / #7074

24 Jun 2025 01:09AM UTC coverage: 51.425% (+24.4%) from 26.996%
#7074

push

web-flow
Merge 0ce3effce into bb9f583b3

14003 of 27230 relevant lines covered (51.42%)

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