public enum Scheme extends Enum<Scheme>
Enum Constant and Description |
---|
MASTERCARD
MasterCard scheme
|
UNKNOWN
Unknown scheme.
|
VISA
VISA scheme
|
Modifier and Type | Method and Description |
---|---|
static Scheme |
fromString(String val)
(internal usage)
|
String |
toString() |
static Scheme |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Scheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Scheme VISA
public static final Scheme MASTERCARD
public static final Scheme UNKNOWN
Category - D1Pay API
public static Scheme[] values()
for (Scheme c : Scheme.values()) System.out.println(c);
public static Scheme 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 null