public enum PromptType extends Enum<PromptType>
| Enum Constant and Description |
|---|
AMOUNT |
CUSTOMER_NUMBER |
EMAIL |
PHONE_NUMBER |
REWARDS_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
static PromptType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PromptType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PromptType AMOUNT
public static final PromptType EMAIL
public static final PromptType PHONE_NUMBER
public static final PromptType CUSTOMER_NUMBER
public static final PromptType REWARDS_NUMBER
public static PromptType[] values()
for (PromptType c : PromptType.values()) System.out.println(c);
public static PromptType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getCode()
Copyright © 2020 BlockChyp, Inc.. All rights reserved.