public enum CardType extends Enum<CardType>
| Enum Constant and Description |
|---|
BLOCKCHAIN_GIFT |
CREDIT |
DEBIT |
EBT |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
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 EBT
public static final CardType BLOCKCHAIN_GIFT
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 int getCode()
Copyright © 2020 BlockChyp, Inc.. All rights reserved.