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

wmixvideo / nfe / #6332

17 Apr 2025 12:55PM UTC coverage: 52.669% (+25.7%) from 26.996%
#6332

push

web-flow
Corrigindo atribuição à variável volumeProdutoEmbalagem não tem efeito e imports não utilizado (#1033)

* Mantendo compatibilidade versão java 1.8

* Corrigindo atribuição à variável volumeProdutoEmbalagem não tem efeito

* Corrigindo imports nao utilizados

* Corrigindo método setVolumeProdutoEmbalagem

* Ajustado setter dos demais metodos da classe de embalagens

O PR havia ajustado somente um. Ajustado os demais para padronização.

* Corrigindo atribuição à variável volumeProdutoEmbalagem não sem efeito

* Corrigindo atribuição à variável volumeProdutoEmbalagem sem efeito

---------

Co-authored-by: tecnosofti <tecnosofti@amdryzen>
Co-authored-by: Diego Fincatto <58352+fincatto@users.noreply.github.com>

14001 of 26583 relevant lines covered (52.67%)

0.53 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

50.0
/src/main/java/com/fincatto/documentofiscal/nfe400/classes/nota/NFNotaInfoPagamento.java
1
package com.fincatto.documentofiscal.nfe400.classes.nota;
2

3
import com.fincatto.documentofiscal.DFBase;
4
import com.fincatto.documentofiscal.validadores.DFBigDecimalValidador;
5
import com.fincatto.documentofiscal.validadores.DFListValidador;
6
import org.simpleframework.xml.Element;
7
import org.simpleframework.xml.ElementList;
8

9
import java.math.BigDecimal;
10
import java.util.List;
11

12
public class NFNotaInfoPagamento extends DFBase {
1✔
13
    private static final long serialVersionUID = -2613537583415054150L;
14

15
    @ElementList(entry = "detPag", inline = true, required = false)
16
    private List<NFNotaInfoFormaPagamento> detalhamentoFormasPagamento;
17

18
    @Element(name = "vTroco", required = false)
19
    private String valorTroco;
20

21
    public NFNotaInfoPagamento setDetalhamentoFormasPagamento(final List<NFNotaInfoFormaPagamento> detalhamentoFormasPagamento) {
22
        DFListValidador.tamanho100(detalhamentoFormasPagamento, "Detalhamento de formas de pagamento");
1✔
23
        this.detalhamentoFormasPagamento = detalhamentoFormasPagamento;
1✔
24
        return this;
1✔
25
    }
26

27
    public List<NFNotaInfoFormaPagamento> getDetalhamentoFormasPagamento() {
28
        return this.detalhamentoFormasPagamento;
×
29
    }
30

31
    public String getValorTroco() {
32
        return this.valorTroco;
×
33
    }
34

35
    public void setValorTroco(final BigDecimal valorTroco) {
36
        this.valorTroco = DFBigDecimalValidador.tamanho15Com2CasasDecimais(valorTroco, "Valor troco");
×
37
    }
×
38
}
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