public enum MerchantPlanType extends Enum<MerchantPlanType> implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Enum Constant and Description |
---|
CLASSIC |
DINING |
PAYMENTS |
PAYMENTS_PLUS |
QSR |
REGISTER |
REGISTER_LITE |
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<MerchantPlanType> |
CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
static MerchantPlanType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MerchantPlanType[] |
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 MerchantPlanType PAYMENTS
public static final MerchantPlanType PAYMENTS_PLUS
public static final MerchantPlanType REGISTER_LITE
public static final MerchantPlanType CLASSIC
public static final MerchantPlanType REGISTER
public static final MerchantPlanType DINING
public static final MerchantPlanType QSR
public static final Parcelable.Creator<MerchantPlanType> CREATOR
public static MerchantPlanType[] values()
for (MerchantPlanType c : MerchantPlanType.values()) System.out.println(c);
public static MerchantPlanType 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