public static enum LoteServico.TipoDocumentoLoteServico extends java.lang.Enum<LoteServico.TipoDocumentoLoteServico>
Enum Constant and Description |
---|
BOLETO |
CUPOM |
FATURA |
NOTA_FISCAL |
Modifier and Type | Field and Description |
---|---|
private java.lang.Long |
codigo |
private java.lang.String |
label |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getCodigo() |
java.lang.String |
getLabel() |
static LoteServico.TipoDocumentoLoteServico |
load(java.lang.Long codigo) |
static LoteServico.TipoDocumentoLoteServico |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LoteServico.TipoDocumentoLoteServico[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoteServico.TipoDocumentoLoteServico NOTA_FISCAL
public static final LoteServico.TipoDocumentoLoteServico FATURA
public static final LoteServico.TipoDocumentoLoteServico BOLETO
public static final LoteServico.TipoDocumentoLoteServico CUPOM
public static LoteServico.TipoDocumentoLoteServico[] values()
for (LoteServico.TipoDocumentoLoteServico c : LoteServico.TipoDocumentoLoteServico.values()) System.out.println(c);
public static LoteServico.TipoDocumentoLoteServico valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static LoteServico.TipoDocumentoLoteServico load(java.lang.Long codigo)
public java.lang.Long getCodigo()
public java.lang.String getLabel()