Enum Class Cartoes

java.lang.Object
java.lang.Enum<Cartoes>
br.com.setis.interfaceautomacao.Cartoes
All Implemented Interfaces:
Serializable, Comparable<Cartoes>, Constable

public enum Cartoes extends Enum<Cartoes>
Tipos de cartões suportados.
  • Enum Constant Details

    • CARTAO_DESCONHECIDO

      public static final Cartoes CARTAO_DESCONHECIDO
      Cartão ainda não definido ou desconhecido.
    • CARTAO_CREDITO

      public static final Cartoes CARTAO_CREDITO
      Cartão de Crédito.
    • CARTAO_DEBITO

      public static final Cartoes CARTAO_DEBITO
      Cartão de Débito.
    • CARTAO_VOUCHER

      public static final Cartoes CARTAO_VOUCHER
      Cartão Voucher.
    • CARTAO_PRIVATELABEL

      public static final Cartoes CARTAO_PRIVATELABEL
      Private label
    • CARTAO_FROTA

      public static final Cartoes CARTAO_FROTA
      Frota
  • Method Details

    • values

      public static Cartoes[] 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 Cartoes 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
    • obtemTipoCartao

      public int obtemTipoCartao()
    • obtemCartao

      public static Cartoes obtemCartao(int cartao)