Package com.checkout.sessions
Enum StatusReason
- java.lang.Object
-
- java.lang.Enum<StatusReason>
-
- com.checkout.sessions.StatusReason
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<StatusReason>
public enum StatusReason extends java.lang.Enum<StatusReason>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARES_ERRORARES_STATUSPARES_ERRORPARES_STATUSRISK_DECLINEDRREQ_ERRORRREQ_STATUSVERES_ERRORVERES_STATUS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StatusReasonvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static StatusReason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ARES_ERROR
@SerializedName("ares_error") public static final StatusReason ARES_ERROR
-
ARES_STATUS
@SerializedName("ares_status") public static final StatusReason ARES_STATUS
-
VERES_ERROR
@SerializedName("veres_error") public static final StatusReason VERES_ERROR
-
VERES_STATUS
@SerializedName("veres_status") public static final StatusReason VERES_STATUS
-
PARES_ERROR
@SerializedName("pares_error") public static final StatusReason PARES_ERROR
-
PARES_STATUS
@SerializedName("pares_status") public static final StatusReason PARES_STATUS
-
RREQ_ERROR
@SerializedName("rreq_error") public static final StatusReason RREQ_ERROR
-
RREQ_STATUS
@SerializedName("rreq_status") public static final StatusReason RREQ_STATUS
-
RISK_DECLINED
@SerializedName("risk_declined") public static final StatusReason RISK_DECLINED
-
-
Method Detail
-
values
public static StatusReason[] 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 (StatusReason c : StatusReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StatusReason 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
-
-