Package com.checkout.sessions
Enum ChallengeCancelReason
- java.lang.Object
-
- java.lang.Enum<ChallengeCancelReason>
-
- com.checkout.sessions.ChallengeCancelReason
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ChallengeCancelReason>
public enum ChallengeCancelReason extends java.lang.Enum<ChallengeCancelReason>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CARDHOLDER_CANCELCHALLENGE_TIMED_OUTSDK_TIMED_OUTTRANSACTION_ERRORTRANSACTION_TIMED_OUTUNKNOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ChallengeCancelReasonvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ChallengeCancelReason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CARDHOLDER_CANCEL
@SerializedName("cardholder_cancel") public static final ChallengeCancelReason CARDHOLDER_CANCEL
-
CHALLENGE_TIMED_OUT
@SerializedName("challenge_timed_out") public static final ChallengeCancelReason CHALLENGE_TIMED_OUT
-
SDK_TIMED_OUT
@SerializedName("sdk_timed_out") public static final ChallengeCancelReason SDK_TIMED_OUT
-
TRANSACTION_ERROR
@SerializedName("transaction_error") public static final ChallengeCancelReason TRANSACTION_ERROR
-
TRANSACTION_TIMED_OUT
@SerializedName("transaction_timed_out") public static final ChallengeCancelReason TRANSACTION_TIMED_OUT
-
UNKNOWN
@SerializedName("unknown") public static final ChallengeCancelReason UNKNOWN
-
-
Method Detail
-
values
public static ChallengeCancelReason[] 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 (ChallengeCancelReason c : ChallengeCancelReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChallengeCancelReason valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-