Enum PaymentCaptureAttemptResultStatus
java.lang.Object
java.lang.Enum<PaymentCaptureAttemptResultStatus>
com.broadleafcommerce.orderoperation.service.messaging.capture.PaymentCaptureAttemptResultStatus
- All Implemented Interfaces:
Serializable
,Comparable<PaymentCaptureAttemptResultStatus>
The types of results that could come from attempting to capture payment on a fulfillment.
-
Enum Constant Summary
Enum ConstantDescriptionOne or more of the attempted capture transactions are awaiting payment gateway's response.One of the attempted capture transactions failed.One of the attempted capture transactions failed with an indeterminate result.All the attempted capture transactions succeeded.There was a zero total, so capturing is not necessary. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static PaymentCaptureAttemptResultStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNNECESSARY
There was a zero total, so capturing is not necessary. -
INDETERMINATE_RESULT
One of the attempted capture transactions failed with an indeterminate result. -
SUCCESS
All the attempted capture transactions succeeded. -
AWAITING_RESULT
One or more of the attempted capture transactions are awaiting payment gateway's response. -
FAILURE
One of the attempted capture transactions failed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-