Enum DefaultTransactionIdentifierTypes
- java.lang.Object
-
- java.lang.Enum<DefaultTransactionIdentifierTypes>
-
- com.broadleafcommerce.paymentgateway.domain.enums.DefaultTransactionIdentifierTypes
-
- All Implemented Interfaces:
TransactionType
,Serializable
,Comparable<DefaultTransactionIdentifierTypes>
public enum DefaultTransactionIdentifierTypes extends Enum<DefaultTransactionIdentifierTypes> implements TransactionType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TRANSACTION_REFERENCE_ID
The transaction identifier communicated viaPaymentRequest.getTransactionReferenceId()
andPaymentResponse.getTransactionReferenceId()
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isTransactionReferenceId(String transactionIdentifierType)
static DefaultTransactionIdentifierTypes
valueOf(String name)
Returns the enum constant of this type with the specified name.static DefaultTransactionIdentifierTypes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface com.broadleafcommerce.paymentgateway.domain.enums.TransactionType
name
-
-
-
-
Enum Constant Detail
-
TRANSACTION_REFERENCE_ID
public static final DefaultTransactionIdentifierTypes TRANSACTION_REFERENCE_ID
The transaction identifier communicated viaPaymentRequest.getTransactionReferenceId()
andPaymentResponse.getTransactionReferenceId()
.
-
-
Method Detail
-
values
public static DefaultTransactionIdentifierTypes[] 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 (DefaultTransactionIdentifierTypes c : DefaultTransactionIdentifierTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DefaultTransactionIdentifierTypes 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
-
isTransactionReferenceId
public static boolean isTransactionReferenceId(String transactionIdentifierType)
-
-