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

wmixvideo / nfe / #7155

08 Dec 2025 12:07PM UTC coverage: 52.306%. Remained the same
#7155

push

web-flow
Novo meio de pagamento 91 - Pagamento Posterior conforme nota técnica. (#1128)

Co-authored-by: luciano.antunes <luciano.antunes@DELL-W11-115.engenhocoradini.com.br>

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

2 existing lines in 1 file now uncovered.

14776 of 28249 relevant lines covered (52.31%)

0.52 hits per line

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

93.94
/src/main/java/com/fincatto/documentofiscal/nfe400/classes/nota/NFMeioPagamento.java
1
package com.fincatto.documentofiscal.nfe400.classes.nota;
2

3
public enum NFMeioPagamento {
1✔
4

5
        DINHEIRO("01", "Dinheiro"),
1✔
6
        CHEQUE("02", "Cheque"),
1✔
7
        CARTAO_CREDITO("03", "Cart\u00e3o de Cr\u00e9dito"),
1✔
8
        CARTAO_DEBITO("04", "Cart\u00e3o de D\u00e9bito"),
1✔
9
        CARTAO_LOJA("05", "Cart\u00e3o da Loja (Private Label)"),
1✔
10
        VALE_ALIMENTACAO("10", "Vale Alimenta\u00e7\u00e3o"),
1✔
11
        VALE_REFEICAO("11", "Vale Refei\u00e7\u00e3o"),
1✔
12
        VALE_PRESENTE("12", "Vale Presente"),
1✔
13
        VALE_COMBUSTIVEL("13", "Vale Combust\u00edvel"),
1✔
14
        DUPLICATA_MERCANTIL("14", "Duplicata Mercantil"),
1✔
15
        BOLETO_BANCARIO("15", "Boleto Banc\u00e1rio"),
1✔
16
        DEPOSITO_BANCARIO("16", "Dep\u00f3sito Banc\u00e1rio"),
1✔
17
        PIX_DINAMICO("17", "Pagamento Instant\u00e2neo (PIX) - Din\u00e2mico"),
1✔
18
        TRANSFERENCIA_BANCARIA("18", "Transfer\u00eancia Banc\u00e1ria"),
1✔
19
        FIDELIDADE_CASHBACK("19", "Programa de fidelidade (Cashback)"),
1✔
20
        PIX_ESTATICO("20", "Pagamento Instant\u00e2neo (PIX) - Est\u00e1tico"),
1✔
21
        CREDITO_EM_LOJA("21", "Cr\u00e9dito em Loja"),
1✔
22
        PAGAMENTO_ELETRONICO_NAO_INFORMADO("22", "Pagamento Eletr\u00f4nico n\u00e3o Informado"),
1✔
23
        SEM_PAGAMENTO("90", "Sem pagamento"),
1✔
24
        PAGAMENTO_POSTERIOR("91", "Pagamento Posterior"),
1✔
25
        OUTRO("99", "Outro");
1✔
26

27
        private final String codigo;
28
        private final String descricao;
29

30
        NFMeioPagamento(final String codigo, final String descricao) {
1✔
31
                this.codigo = codigo;
1✔
32
                this.descricao = descricao;
1✔
33
        }
1✔
34

35
        public String getCodigo() {
36
                return this.codigo;
1✔
37
        }
38

39
        public static NFMeioPagamento valueOfCodigo(final String codigo) {
40
                for (final NFMeioPagamento formaPagamentoMoeda : NFMeioPagamento.values()) {
1✔
41
                        if (formaPagamentoMoeda.getCodigo().equals(codigo)) {
1✔
42
                                return formaPagamentoMoeda;
1✔
43
                        }
44
                }
UNCOV
45
                return null;
×
46
        }
47

48
        @Override
49
        public String toString() {
50
                return this.codigo + " - " + this.descricao;
1✔
51
        }
52

53
        public String getDescricao() {
UNCOV
54
                return descricao;
×
55
        }
56

57
}
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

© 2025 Coveralls, Inc