public enum FundingType extends Enum<FundingType> implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Enum Constant and Description |
---|
BUSINESS |
CREDIT |
DEBIT |
GIFT |
PREPAID |
PURCHASE |
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<FundingType> |
CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
static FundingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FundingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeToParcel(Parcel dest,
int flags) |
public static final FundingType CREDIT
public static final FundingType DEBIT
public static final FundingType PREPAID
public static final FundingType GIFT
public static final FundingType BUSINESS
public static final FundingType PURCHASE
public static final Parcelable.Creator<FundingType> CREATOR
public static FundingType[] values()
for (FundingType c : FundingType.values()) System.out.println(c);
public static FundingType 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 describeContents()
describeContents
in interface Parcelable
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable