| Enum Constant and Description |
|---|
NO_TIP |
ON_SCREEN_BEFORE_PAYMENT |
TIP_PROVIDED |
| Modifier and Type | Method and Description |
|---|---|
static TipMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TipMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TipMode TIP_PROVIDED
public static final TipMode ON_SCREEN_BEFORE_PAYMENT
public static final TipMode NO_TIP
public static TipMode[] values()
for (TipMode c : TipMode.values()) System.out.println(c);
public static TipMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null