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

wmixvideo / nfe / #6582

17 Jul 2025 09:30PM UTC coverage: 51.231% (+24.2%) from 26.996%
#6582

push

web-flow
Adequação do mapeamento de infLocalCarrega e infLocalDescarrega ao xs:choice do schema MDF-e (#1054)

* Adequação do mapeamento de infLocalCarrega e infLocalDescarrega ao xs:choice do schema MDF-e

* Adequação do mapeamento de infLocalCarrega e infLocalDescarrega ao xs:choice do schema MDF-e

14006 of 27339 relevant lines covered (51.23%)

0.51 hits per line

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

88.89
/src/main/java/com/fincatto/documentofiscal/nfe400/classes/NFNotaInfoImpostoTributacaoICMS.java
1
package com.fincatto.documentofiscal.nfe400.classes;
2

3
public enum NFNotaInfoImpostoTributacaoICMS {
1✔
4

5
    TRIBUTACAO_INTEGRALMENTE("00", "Tributada integralmente"),
1✔
6
    TRIBUTACAO_MONOFASICA_PROPRIA_SOBRE_IMPOSTO("02", "Tributação monofásica própria sobre combustíveis"),
1✔
7
    TRIBUTADA_COM_COBRANCA_ICMS_POR_SUBSTITUICAO_TRIBUTARIA("10", "Tributada com cobran\u00e7a de ICMS por ST"),
1✔
8
    TRIBUTACAO_MONOFASICA_PROPRIA_E_COM_RESPONSABILIDADE_PELO_RETENCAO_SOBRE_COMBUSTIVES("15", "Tributação monofásica própria e com responsabilidade pela retenção sobre combustíveis"),
1✔
9
    COM_REDUCAO_BASE_CALCULO("20", "Com redu\u00e7\u00e3o da base de c\u00e1lculo"),
1✔
10
    ISENTA_OU_NAO_TRIBUTADA_COM_COBRANCA_ICMS_POR_SUBSTITUICAO_TRIBUTARIA("30", "Isenta ou n\u00e3o tributada com cobran\u00e7a de ICMS por ST"),
1✔
11
    ISENTA("40", "Isenta"),
1✔
12
    NAO_TRIBUTADO("41", "N\u00e3o tributada"),
1✔
13
    SUSPENSAO("50", "Suspens\u00e3o"),
1✔
14
    DIFERIMENTO("51", "Diferimento"),
1✔
15
    TRIBUTACAO_MONOFASICA_SOBRE_COMBUSTIVEIS_COM_RECOLHIMENTO_DIFERIDO("53", "Tributação monofásica sobre combustíveis com recolhimento diferido"),
1✔
16
    ICMS_COBRADO_ANTERIORMENTE_POR_SUBSTITUICAO_TRIBUTARIA("60", "ICMS cobrado anteriormente por ST"),
1✔
17
    TRIBUTACAO_MONOFASICA_SOBRE_COMBUSTIVEIS_COBRADA_ANTERIORMENTE("61", "Tributação monofásica sobre combustíveis cobrada anteriormente"),
1✔
18
    COM_REDUCAO_BASE_CALCULO_COBRANCA_ICMS_POR_SUBSTITUICAO_TRIBUTARIA_ICMS_SUBSTITUICAO_TRIBUTARIA("70", "Com redu\u00e7\u00e3o da base de c\u00e1lculo/Cobran\u00e7a ICMS por ST/ICMS ST"),
1✔
19
    OUTROS("90", "Outros");
1✔
20

21
    private final String codigo;
22
    private final String descricao;
23

24
    NFNotaInfoImpostoTributacaoICMS(final String codigo, final String descricao) {
1✔
25
        this.codigo = codigo;
1✔
26
        this.descricao = descricao;
1✔
27
    }
1✔
28

29
    public String getCodigo() {
30
        return this.codigo;
1✔
31
    }
32
    
33
    public String getDescricao() {
34
        return this.descricao;
×
35
    }
36

37
    public static NFNotaInfoImpostoTributacaoICMS valueOfCodigo(final String codigoICMS) {
38
        for (final NFNotaInfoImpostoTributacaoICMS icms : NFNotaInfoImpostoTributacaoICMS.values()) {
1✔
39
            if (icms.getCodigo().equals(codigoICMS)) {
1✔
40
                return icms;
1✔
41
            }
42
        }
43
        return null;
×
44
    }
45

46
    @Override
47
    public String toString() {
48
        return codigo + " - " + descricao;
×
49
    }
50
}
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