public enum SelectedService extends Enum<SelectedService> implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Enum Constant and Description |
---|
CANCELLATION |
CARDHOLDER_DETECTION |
CASH_ADVANCE |
DEFERRED_PAYMENT |
DEFERRED_PAYMENT_COMPLETION |
NONE |
PAYMENT |
PAYMENT_COMPLETION |
PRE_AUTH |
REFUND |
TOKEN_REQUEST |
UPDATE_PRE_AUTH |
VERIFICATION |
VOICE_AUTHORISATION |
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<SelectedService> |
CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
byte |
getValue() |
static SelectedService |
valueOf(byte value) |
static SelectedService |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SelectedService[] |
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 SelectedService NONE
public static final SelectedService PAYMENT
public static final SelectedService REFUND
public static final SelectedService CANCELLATION
public static final SelectedService PRE_AUTH
public static final SelectedService UPDATE_PRE_AUTH
public static final SelectedService PAYMENT_COMPLETION
public static final SelectedService CASH_ADVANCE
public static final SelectedService DEFERRED_PAYMENT
public static final SelectedService DEFERRED_PAYMENT_COMPLETION
public static final SelectedService VOICE_AUTHORISATION
public static final SelectedService CARDHOLDER_DETECTION
public static final SelectedService TOKEN_REQUEST
public static final SelectedService VERIFICATION
public static final Parcelable.Creator<SelectedService> CREATOR
public static SelectedService[] values()
for (SelectedService c : SelectedService.values()) System.out.println(c);
public static SelectedService 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 static SelectedService valueOf(byte value)
public byte getValue()
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable
public int describeContents()
describeContents
in interface Parcelable