Enum TransactionRetrievalStrategies
- java.lang.Object
-
- java.lang.Enum<TransactionRetrievalStrategies>
-
- com.broadleafcommerce.cartoperation.domain.type.TransactionRetrievalStrategies
-
- All Implemented Interfaces:
Serializable
,Comparable<TransactionRetrievalStrategies>
public enum TransactionRetrievalStrategies extends Enum<TransactionRetrievalStrategies>
The possible types of retrieval strategies a transaction can have.- Author:
- Marie Standeven (marieStandeven)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXTERNAL_LOOKUP_DURING_CHECKOUT_WORKFLOW
This strategy is used when we lookup the payment transaction from the gateway for 3DS transactions during the checkout workflow.IMPORT_WITH_TRANSACTION_RECORDING_ENDPOINT
This strategy specifies that the transaction can be imported and created in Broadleaf using the transaction recording endpoint call during checkout.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TransactionRetrievalStrategies
valueOf(String name)
Returns the enum constant of this type with the specified name.static TransactionRetrievalStrategies[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXTERNAL_LOOKUP_DURING_CHECKOUT_WORKFLOW
public static final TransactionRetrievalStrategies EXTERNAL_LOOKUP_DURING_CHECKOUT_WORKFLOW
This strategy is used when we lookup the payment transaction from the gateway for 3DS transactions during the checkout workflow.
-
IMPORT_WITH_TRANSACTION_RECORDING_ENDPOINT
public static final TransactionRetrievalStrategies IMPORT_WITH_TRANSACTION_RECORDING_ENDPOINT
This strategy specifies that the transaction can be imported and created in Broadleaf using the transaction recording endpoint call during checkout.
-
-
Method Detail
-
values
public static TransactionRetrievalStrategies[] 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 (TransactionRetrievalStrategies c : TransactionRetrievalStrategies.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransactionRetrievalStrategies valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-