• 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

73.68
/src/main/java/com/fincatto/documentofiscal/nfe400/classes/NFNotaInfoItemModalidadeBCICMSST.java
1
package com.fincatto.documentofiscal.nfe400.classes;
2

3
public enum NFNotaInfoItemModalidadeBCICMSST {
1✔
4

5
    PRECO_TABELADO("0", "Pre\u00e7o Tabelado"),
1✔
6
    LISTA_NEGATIVA("1", "Lista Negativa"),
1✔
7
    LISTA_POSITIVA("2", "Lista Positiva"),
1✔
8
    LISTA_NEUTRA("3", "Lista Neutra"),
1✔
9
    MARGEM_VALOR_AGREGADO("4", "Margem Valor Agregado"),
1✔
10
    PAUTA("5", "Pauta"),
1✔
11
    VALOR_OPERACAO("6", "Valor Opera\u00e7\u00e3o");
1✔
12

13
    private final String codigo;
14
    private final String descricao;
15

16
    NFNotaInfoItemModalidadeBCICMSST(final String codigo, final String descricao) {
1✔
17
        this.codigo = codigo;
1✔
18
        this.descricao = descricao;
1✔
19
    }
1✔
20

21
    public String getCodigo() {
22
        return this.codigo;
1✔
23
    }
24

25
    public String getDescricao() {
26
        return this.descricao;
×
27
    }
28

29
    public static NFNotaInfoItemModalidadeBCICMSST valueOfCodigo(final String codigo) {
30
        for (final NFNotaInfoItemModalidadeBCICMSST modalidadeBCIMSST : NFNotaInfoItemModalidadeBCICMSST.values()) {
×
31
            if (modalidadeBCIMSST.getCodigo().equals(codigo)) {
×
32
                return modalidadeBCIMSST;
×
33
            }
34
        }
35
        return null;
×
36
    }
37

38
    @Override
39
    public String toString() {
40
        return codigo + " - " + descricao;
1✔
41
    }
42
}
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