public enum CardType extends Enum<CardType>
| Modifier and Type | Class and Description |
|---|---|
static class |
CardType.Adapter |
| Enum Constant and Description |
|---|
CHARGE |
CREDIT |
DEBIT |
NETWORKONLY |
OTHER |
PREPAID |
VISADEFERREDDEBIT |
| Modifier and Type | Method and Description |
|---|---|
static CardType |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static CardType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CardType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CardType CREDIT
public static final CardType DEBIT
public static final CardType CHARGE
public static final CardType OTHER
public static final CardType PREPAID
public static final CardType VISADEFERREDDEBIT
public static final CardType NETWORKONLY
public static CardType[] values()
for (CardType c : CardType.values()) System.out.println(c);
public static CardType 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()
Copyright © 2023. All rights reserved.