Package com.twilio.twiml.voice
Enum Prompt.For
- java.lang.Object
-
- java.lang.Enum<Prompt.For>
-
- com.twilio.twiml.voice.Prompt.For
-
- All Implemented Interfaces:
Serializable,Comparable<Prompt.For>
- Enclosing class:
- Prompt
public static enum Prompt.For extends Enum<Prompt.For>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BANK_ACCOUNT_NUMBERBANK_ROUTING_NUMBEREXPIRATION_DATEPAYMENT_CARD_NUMBERPAYMENT_PROCESSINGPOSTAL_CODESECURITY_CODE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static Prompt.ForvalueOf(String name)Returns the enum constant of this type with the specified name.static Prompt.For[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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 nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<Prompt.For>
-
-