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

wmixvideo / nfe / #6750

24 Jun 2025 02:03AM UTC coverage: 51.469% (+0.06%) from 51.41%
#6750

push

web-flow
Merge d2279b1fb into bb9f583b3

15 of 19 new or added lines in 1 file covered. (78.95%)

14019 of 27238 relevant lines covered (51.47%)

0.51 hits per line

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

80.0
/src/main/java/com/fincatto/documentofiscal/nfe400/classes/NFNotaInfoImpostoTributacaoIBSCBS.java
1
package com.fincatto.documentofiscal.nfe400.classes;
2

3
import java.util.Arrays;
4

5
/**
6
 * Grupo UB. Informacoes dos tributos IBS / CBS e Imposto Seletivo
7
 * @author Marcos Lombardi
8
 * @since 4.0.85
9
 */
10
public enum NFNotaInfoImpostoTributacaoIBSCBS {
1✔
11

12
        // Link download tabela https://www.nfe.fazenda.gov.br/portal/exibirArquivo.aspx?conteudo=ix44jDLyQog=
13
        // CST_cClassTribPublicacao_20250618.xlsx
14
        
15
        SITUACOES_TRIBUTADAS_INTEGRALMENTE_PELO_IBS_E_CBS("000", "Tributa\u00e7\u00e3o integral", "000001", "Situa\u00e7\u00f5es tributadas integralmente pelo IBS e CBS"),
1✔
16
        EXPLORACAO_DE_VIA("000", "Tributa\u00e7\u00e3o integral", "000002", "Explora\u00e7\u00e3o de via"),
1✔
17
        REGIME_AUTOMOTIVO_PROJETOS_INCENTIVADOS_ART_311("000", "Tributa\u00e7\u00e3o integral", "000003", "Regime automotivo - projetos incentivados (art. 311)"),
1✔
18
        REGIME_AUTOMOTIVO_PROJETOS_INCENTIVADOS_ART_312("000", "Tributa\u00e7\u00e3o integral", "000004", "Regime automotivo - projetos incentivados (art. 312)"),
1✔
19
        OPERACOES_FGTS_NAO_REALIZADAS_PELA_CAIXA_ECONOMICA_FEDERAL("010", "Tributa\u00e7\u00e3o com al\u00edquotas uniformes - opera\u00e7\u00f5es do FGTS", "010001", "Opera\u00e7\u00f5es do FGTS n\u00e3o realizadas pela Caixa Econ\u00f4mica Federal");
1✔
20

21
        private NFNotaInfoImpostoTributacaoIBSCBS(String cCstIBSCBS, String xCstIBSCBS, String cClassTrib, String xClassTrib) {
1✔
22
                this.cCstIBSCBS = cCstIBSCBS;
1✔
23
                this.xCstIBSCBS = xCstIBSCBS;
1✔
24
                this.cClassTrib = cClassTrib;
1✔
25
                this.xClassTrib = xClassTrib;
1✔
26
        }
1✔
27

28
        public static NFNotaInfoImpostoTributacaoIBSCBS valueOfCodigo(final String cClassTrib) {
NEW
29
                return Arrays.stream(NFNotaInfoImpostoTributacaoIBSCBS.values())
×
NEW
30
                                        .filter(ibscbs -> ibscbs.getcClassTrib().equals(cClassTrib))
×
NEW
31
                                                .findFirst().orElse(null);
×
32
        }
33
        
34
        // Coluna A
35
        private final String cCstIBSCBS;
36
        // Coluna B
37
        private final String xCstIBSCBS;
38
        // Coluna C
39
        private final String cClassTrib;
40
        // Coluna D
41
        private final String xClassTrib;
42

43
        public String getcCstIBSCBS() {
44
                return cCstIBSCBS;
1✔
45
        }
46

47
        public String getxCstIBSCBS() {
48
                return xCstIBSCBS;
1✔
49
        }
50

51
        public String getcClassTrib() {
52
                return cClassTrib;
1✔
53
        }
54

55
        public String getxClassTrib() {
56
                return xClassTrib;
1✔
57
        }
58

59
        @Override
60
        public String toString() {
NEW
61
                return cClassTrib + " - " + xClassTrib;
×
62
        }
63
        
64
}
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