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