public enum DefaultTransactionManagementStates extends Enum<DefaultTransactionManagementStates> implements TransactionManagementState
Enum Constant and Description |
---|
AVAIL_FOR_GEN_USE
Represents a successful transaction that can contribute to a successful checkout, or is able
to be reversed.
|
CHECKOUT_COMPLETE
Represents a transaction that has contributed to a successful checkout.
|
CHECKOUT_IN_PROGRESS
Represents a transaction that is being actively used within a checkout.
|
FAILED_REVERSAL
Represents a transaction that was not able to be reversed.
|
REQUIRES_REVERSAL
Represents a transaction that is needs to be reversed.
|
REVERSAL_IN_PROGRESS
Represents a transaction that is being actively reversed.
|
REVERSAL_TRANSACTION
Represents a transaction that reversed another transaction.
|
REVERSED
Represents a transaction that has been successfully reversed.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
isAvailableForGeneralUse(String transactionManagementState) |
static boolean |
isCheckoutComplete(String transactionManagementState) |
static boolean |
isCheckoutInProgress(String transactionManagementState) |
static boolean |
isFailedReversal(String transactionManagementState) |
static boolean |
isRequiresReversal(String transactionManagementState) |
static boolean |
isReversalInProgress(String transactionManagementState) |
static boolean |
isReversalTransaction(String transactionManagementState) |
static boolean |
isReversed(String transactionManagementState) |
static boolean |
isReversedOrReversalTransaction(String managementState) |
static DefaultTransactionManagementStates |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultTransactionManagementStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final DefaultTransactionManagementStates AVAIL_FOR_GEN_USE
public static final DefaultTransactionManagementStates CHECKOUT_IN_PROGRESS
public static final DefaultTransactionManagementStates CHECKOUT_COMPLETE
public static final DefaultTransactionManagementStates REQUIRES_REVERSAL
public static final DefaultTransactionManagementStates REVERSAL_IN_PROGRESS
public static final DefaultTransactionManagementStates REVERSED
public static final DefaultTransactionManagementStates FAILED_REVERSAL
public static final DefaultTransactionManagementStates REVERSAL_TRANSACTION
public static DefaultTransactionManagementStates[] values()
for (DefaultTransactionManagementStates c : DefaultTransactionManagementStates.values()) System.out.println(c);
public static DefaultTransactionManagementStates valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static boolean isAvailableForGeneralUse(String transactionManagementState)
public static boolean isCheckoutInProgress(String transactionManagementState)
public static boolean isCheckoutComplete(String transactionManagementState)
public static boolean isRequiresReversal(String transactionManagementState)
public static boolean isReversalInProgress(String transactionManagementState)
public static boolean isReversed(String transactionManagementState)
public static boolean isFailedReversal(String transactionManagementState)
public static boolean isReversalTransaction(String transactionManagementState)
public static boolean isReversedOrReversalTransaction(String managementState)
Copyright © 2021. All rights reserved.