Enum PaymentStatus
- java.lang.Object
-
- java.lang.Enum<PaymentStatus>
-
- aero.panasonic.inflight.services.paymentclient.v1.status.PaymentStatus
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PaymentStatus>
public enum PaymentStatus extends java.lang.Enum<PaymentStatus>
Lists the status at each stage of the payment process
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PAYMENT_STATUS_CANCELEDPayment Request is canceledPAYMENT_STATUS_FAILEDPayment Request processing has failed.PAYMENT_STATUS_PAUSEDPayment processing paused.PAYMENT_STATUS_RESUMEDPayment processing resumed.PAYMENT_STATUS_SUBMIT_FORM_CANCELEDPayment Form submission is canceledPAYMENT_STATUS_SUBMIT_FORM_FAILEDPayment Form submission failed.PAYMENT_STATUS_SUBMIT_FORM_SUCCESSPayment Form is successfully submitted.PAYMENT_STATUS_SUCCESSPayment Request is successfully processed.PAYMENT_STATUS_UNKNOWNPayment Request initial status
-
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
-
PAYMENT_STATUS_UNKNOWN
public static final PaymentStatus PAYMENT_STATUS_UNKNOWN
Payment Request initial status
-
PAYMENT_STATUS_SUBMIT_FORM_SUCCESS
public static final PaymentStatus PAYMENT_STATUS_SUBMIT_FORM_SUCCESS
Payment Form is successfully submitted.
-
PAYMENT_STATUS_SUBMIT_FORM_CANCELED
public static final PaymentStatus PAYMENT_STATUS_SUBMIT_FORM_CANCELED
Payment Form submission is canceled
-
PAYMENT_STATUS_SUBMIT_FORM_FAILED
public static final PaymentStatus PAYMENT_STATUS_SUBMIT_FORM_FAILED
Payment Form submission failed.
-
PAYMENT_STATUS_SUCCESS
public static final PaymentStatus PAYMENT_STATUS_SUCCESS
Payment Request is successfully processed.
-
PAYMENT_STATUS_CANCELED
public static final PaymentStatus PAYMENT_STATUS_CANCELED
Payment Request is canceled
-
PAYMENT_STATUS_FAILED
public static final PaymentStatus PAYMENT_STATUS_FAILED
Payment Request processing has failed.
-
PAYMENT_STATUS_PAUSED
public static final PaymentStatus PAYMENT_STATUS_PAUSED
Payment processing paused.
-
PAYMENT_STATUS_RESUMED
public static final PaymentStatus PAYMENT_STATUS_RESUMED
Payment processing resumed.
-
-
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
-
-