Enum Prompt.For

    • Enum Constant Detail

      • PAYMENT_CARD_NUMBER

        public static final Prompt.For PAYMENT_CARD_NUMBER
      • EXPIRATION_DATE

        public static final Prompt.For EXPIRATION_DATE
      • SECURITY_CODE

        public static final Prompt.For SECURITY_CODE
      • POSTAL_CODE

        public static final Prompt.For POSTAL_CODE
      • PAYMENT_PROCESSING

        public static final Prompt.For PAYMENT_PROCESSING
      • BANK_ACCOUNT_NUMBER

        public static final Prompt.For BANK_ACCOUNT_NUMBER
      • BANK_ROUTING_NUMBER

        public static final Prompt.For BANK_ROUTING_NUMBER
    • Method Detail

      • values

        public static Prompt.For[] 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 (Prompt.For c : Prompt.For.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Prompt.For valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null