public enum ReceiptType extends java.lang.Enum<ReceiptType> implements android.os.Parcelable
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<ReceiptType> |
CREATOR |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
static ReceiptType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReceiptType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final ReceiptType NONE
public static final ReceiptType PAPER
public static final ReceiptType EMAIL
public static final ReceiptType SMS
public static final ReceiptType CUSTOM
public static android.os.Parcelable.Creator<ReceiptType> CREATOR
public static ReceiptType[] values()
for (ReceiptType c : ReceiptType.values()) System.out.println(c);
public static ReceiptType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelable