Package com.checkout.payments
Enum PaymentStatus
- java.lang.Object
-
- java.lang.Enum<PaymentStatus>
-
- com.checkout.payments.PaymentStatus
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PaymentStatus>
public enum PaymentStatus extends java.lang.Enum<PaymentStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVEAUTHORIZEDCANCELEDCAPTUREDCARD_VERIFIEDDECLINEDEXPIREDPAIDPARTIALLY_CAPTUREDPARTIALLY_REFUNDEDPENDINGREFUNDEDREQUESTEDVOIDED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PaymentStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PaymentStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE
@SerializedName("Active") public static final PaymentStatus ACTIVE
-
REQUESTED
@SerializedName("Requested") public static final PaymentStatus REQUESTED
-
PENDING
@SerializedName("Pending") public static final PaymentStatus PENDING
-
AUTHORIZED
@SerializedName("Authorized") public static final PaymentStatus AUTHORIZED
-
CARD_VERIFIED
@SerializedName("Card Verified") public static final PaymentStatus CARD_VERIFIED
-
CANCELED
@SerializedName("Canceled") public static final PaymentStatus CANCELED
-
EXPIRED
@SerializedName("Expired") public static final PaymentStatus EXPIRED
-
PAID
@SerializedName("Paid") public static final PaymentStatus PAID
-
DECLINED
@SerializedName("Declined") public static final PaymentStatus DECLINED
-
VOIDED
@SerializedName("Voided") public static final PaymentStatus VOIDED
-
PARTIALLY_CAPTURED
@SerializedName("Partially Captured") public static final PaymentStatus PARTIALLY_CAPTURED
-
CAPTURED
@SerializedName("Captured") public static final PaymentStatus CAPTURED
-
PARTIALLY_REFUNDED
@SerializedName("Partially Refunded") public static final PaymentStatus PARTIALLY_REFUNDED
-
REFUNDED
@SerializedName("Refunded") public static final PaymentStatus REFUNDED
-
-
Method Detail
-
values
public static PaymentStatus[] 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 (PaymentStatus c : PaymentStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PaymentStatus 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
-
-