All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fincatto.documentofiscal.nfe310.classes.NFNotaInfoImpostoTributacaoISSQN Maven / Gradle / Ivy

There is a newer version: 4.0.78
Show newest version
package com.fincatto.documentofiscal.nfe310.classes;

public enum NFNotaInfoImpostoTributacaoISSQN {

    NORMAL("N", "Normal"),
    RETIDA("R", "Retida"),
    SUBSTITUTA("S", "Substituta"),
    ISENTA("I", "Isenta");

    private final String codigo;
    private final String descricao;

    NFNotaInfoImpostoTributacaoISSQN(final String codigo, final String descricao) {
        this.codigo = codigo;
        this.descricao = descricao;
    }

    public String getCodigo() {
        return this.codigo;
    }

    public static NFNotaInfoImpostoTributacaoISSQN valueOfCodigo(final String codigo) {
        for (final NFNotaInfoImpostoTributacaoISSQN impostoTributacaoISSQN : NFNotaInfoImpostoTributacaoISSQN.values()) {
            if (impostoTributacaoISSQN.getCodigo().equals(codigo)) {
                return impostoTributacaoISSQN;
            }
        }
        return null;
    }

    @Override
    public String toString() {
        return codigo + " - " + descricao;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy