Enum Class Tipo

java.lang.Object
java.lang.Enum<Tipo>
systextil.integracao.constante.Tipo
All Implemented Interfaces:
Serializable, Comparable<Tipo>, Constable

public enum Tipo extends Enum<Tipo>
Tipo do documento: 0 - NFe sobre uma compra 1 - Conhecimento de frete de entrada 3 - Conhecimento de frete de saida
  • Enum Constant Details

    • NF_COMPRA

      public static final Tipo NF_COMPRA
    • CTE_ENTRADA

      public static final Tipo CTE_ENTRADA
    • CTE_SAIDA

      public static final Tipo CTE_SAIDA
    • NF_COMPRA_DEVOLVIDA

      public static final Tipo NF_COMPRA_DEVOLVIDA
  • Method Details

    • values

      public static Tipo[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Tipo valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getTipo

      public int getTipo()
    • fromString

      public static Tipo fromString(int num)