Package com.twilio.twiml.voice
Class Prompt
- java.lang.Object
-
- com.twilio.twiml.TwiML
-
- com.twilio.twiml.voice.Prompt
-
public class Prompt extends TwiML
TwiML wrapper for<Prompt>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Prompt.Builder
Create a new<Prompt>
elementstatic class
Prompt.CardType
static class
Prompt.ErrorType
static class
Prompt.For
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Integer>
getAttempts()
Current attempt countList<Prompt.CardType>
getCardTypes()
Type of the credit cardList<Prompt.ErrorType>
getErrorTypes()
Type of errorPrompt.For
getFor_()
Name of the payment source data elementBoolean
isRequireMatchingInputs()
Require customer to input requested information twice and verify matching.-
Methods inherited from class com.twilio.twiml.TwiML
equals, getChildren, getOptions, getTagName, hashCode, toUrl, toXml
-
-
-
-
Method Detail
-
getFor_
public Prompt.For getFor_()
Name of the payment source data element- Returns:
- Name of the payment source data element
-
getErrorTypes
public List<Prompt.ErrorType> getErrorTypes()
Type of error- Returns:
- Type of error
-
getCardTypes
public List<Prompt.CardType> getCardTypes()
Type of the credit card- Returns:
- Type of the credit card
-
isRequireMatchingInputs
public Boolean isRequireMatchingInputs()
Require customer to input requested information twice and verify matching.- Returns:
- Require customer to input requested information twice and verify matching.
-
-