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

wmixvideo / nfe / #7148

04 Dec 2025 02:00PM UTC coverage: 52.281% (+25.3%) from 26.996%
#7148

push

web-flow
Ajuste conforme CTe_Nota_Tecnica_2025_001_RTC_v1.10 (#1126)

* Merge from master

* Revert "Merge from master"

This reverts commit e2ed141c3.

* Revert "Revert "Merge from master""

This reverts commit 05781623b.

* Adição do campo indDoacao e grupo de informações de estorno de crédito. Exclusão do grupo de informações do crédito presumido por não se aplicar aos cClassTrib associados ao CTe. Conforme CTe_Nota_Tecnica_2025_001_RTC_v1.10.

103 of 276 new or added lines in 17 files covered. (37.32%)

2968 existing lines in 404 files now uncovered.

14761 of 28234 relevant lines covered (52.28%)

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