Enum Card.TypeEnum

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Card.TypeEnum>
    Enclosing class:
    Card

    public static enum Card.TypeEnum
    extends java.lang.Enum<Card.TypeEnum>
    Gets or Sets type
    • Enum Constant Detail

      • BUSINESS_DEBIT_CARD

        public static final Card.TypeEnum BUSINESS_DEBIT_CARD
      • INDIVIDUAL_DEBIT_CARD

        public static final Card.TypeEnum INDIVIDUAL_DEBIT_CARD
      • BUSINESS_VIRTUAL_DEBIT_CARD

        public static final Card.TypeEnum BUSINESS_VIRTUAL_DEBIT_CARD
      • INDIVIDUAL_VIRTUAL_DEBIT_CARD

        public static final Card.TypeEnum INDIVIDUAL_VIRTUAL_DEBIT_CARD
      • BUSINESS_CREDIT_CARD

        public static final Card.TypeEnum BUSINESS_CREDIT_CARD
      • BUSINESS_VIRTUAL_CREDIT_CARD

        public static final Card.TypeEnum BUSINESS_VIRTUAL_CREDIT_CARD
    • Method Detail

      • values

        public static Card.TypeEnum[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Card.TypeEnum c : Card.TypeEnum.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Card.TypeEnum valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getValue

        public java.lang.String getValue()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Enum<Card.TypeEnum>
      • fromValue

        public static Card.TypeEnum fromValue​(java.lang.String value)