public enum CardSource extends Enum<CardSource>
| Enum Constant and Description |
|---|
CONTACTLESS |
ICC |
MAGSTRIPE |
MANUAL |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static CardSource |
fromValue(String value) |
String |
getValue() |
static CardSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CardSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CardSource CONTACTLESS
public static final CardSource MANUAL
public static final CardSource MAGSTRIPE
public static final CardSource ICC
public static final CardSource UNKNOWN
public static CardSource[] values()
for (CardSource c : CardSource.values()) System.out.println(c);
public static CardSource 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 getValue()
public static CardSource fromValue(String value)
Copyright © 2024. All rights reserved.