Serializable, Comparable<CardCategory>public enum CardCategory extends Enum<CardCategory>
| Modifier and Type | Method | Description |
|---|---|---|
static CardCategory |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static CardCategory[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName("classic")
public static final CardCategory CLASSIC
@SerializedName("corporate")
public static final CardCategory CORPORATE
@SerializedName("prepaid")
public static final CardCategory PREPAID
public static CardCategory[] values()
for (CardCategory c : CardCategory.values()) System.out.println(c);
public static CardCategory 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 nullCopyright © 2018 The Apache Software Foundation. All rights reserved.