Package com.clover.sdk.v3.payments
Enum SelectedService
- java.lang.Object
-
- java.lang.Enum<SelectedService>
-
- com.clover.sdk.v3.payments.SelectedService
-
- All Implemented Interfaces:
Parcelable
,Serializable
,Comparable<SelectedService>
public enum SelectedService extends Enum<SelectedService> implements Parcelable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T extends Object>, Parcelable.Creator<T extends Object>
-
-
Enum Constant Summary
Enum Constants Enum Constant 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
-
Field Summary
Fields Modifier and Type Field Description static Parcelable.Creator<SelectedService>
CREATOR
-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
describeContents()
byte
getValue()
static SelectedService
valueOf(byte value)
Returns the enum constant of this type with the specified name.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)
-
-
-
Enum Constant Detail
-
NONE
public static final SelectedService NONE
-
PAYMENT
public static final SelectedService PAYMENT
-
REFUND
public static final SelectedService REFUND
-
CANCELLATION
public static final SelectedService CANCELLATION
-
PRE_AUTH
public static final SelectedService PRE_AUTH
-
UPDATE_PRE_AUTH
public static final SelectedService UPDATE_PRE_AUTH
-
PAYMENT_COMPLETION
public static final SelectedService PAYMENT_COMPLETION
-
CASH_ADVANCE
public static final SelectedService CASH_ADVANCE
-
DEFERRED_PAYMENT
public static final SelectedService DEFERRED_PAYMENT
-
DEFERRED_PAYMENT_COMPLETION
public static final SelectedService DEFERRED_PAYMENT_COMPLETION
-
VOICE_AUTHORISATION
public static final SelectedService VOICE_AUTHORISATION
-
CARDHOLDER_DETECTION
public static final SelectedService CARDHOLDER_DETECTION
-
TOKEN_REQUEST
public static final SelectedService TOKEN_REQUEST
-
VERIFICATION
public static final SelectedService VERIFICATION
-
-
Field Detail
-
CREATOR
public static final Parcelable.Creator<SelectedService> CREATOR
-
-
Method Detail
-
values
public static SelectedService[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SelectedService c : SelectedService.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SelectedService valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOf
public static SelectedService valueOf(byte value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public byte getValue()
-
writeToParcel
public void writeToParcel(Parcel dest, int flags)
- Specified by:
writeToParcel
in interfaceParcelable
-
describeContents
public int describeContents()
- Specified by:
describeContents
in interfaceParcelable
-
-