Class TransactionIdentifier
java.lang.Object
com.broadleafcommerce.paymentgateway.domain.TransactionIdentifier
- All Implemented Interfaces:
Serializable
Describes the identifier of a transaction.
- Author:
- Chris Kittrell (ckittrell)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The application id that the payment transaction belongs to.The transaction identifier value.Describes the type of transaction identifier.The tenant id that the payment transaction belongs to.int
hashCode()
void
setApplicationId
(String applicationId) The application id that the payment transaction belongs to.void
setIdentifier
(String identifier) The transaction identifier value.void
setIdentifierType
(String identifierType) Describes the type of transaction identifier.void
setTenantId
(String tenantId) The tenant id that the payment transaction belongs to.toString()
-
Constructor Details
-
TransactionIdentifier
public TransactionIdentifier()
-
-
Method Details
-
getIdentifierType
Describes the type of transaction identifier. In most cases, we expect this to beDefaultTransactionIdentifierTypes.TRANSACTION_REFERENCE_ID
.- Returns:
- The type of transaction identifier.
-
getIdentifier
The transaction identifier value. In most cases, we expect this to be the transactionReferenceId- Returns:
- The transaction identifier value.
-
getTenantId
The tenant id that the payment transaction belongs to.- Returns:
- The tenant id value.
-
getApplicationId
The application id that the payment transaction belongs to.- Returns:
- The application id value.
-
setIdentifierType
Describes the type of transaction identifier. In most cases, we expect this to beDefaultTransactionIdentifierTypes.TRANSACTION_REFERENCE_ID
.- Parameters:
identifierType
- The type of transaction identifier.
-
setIdentifier
The transaction identifier value. In most cases, we expect this to be the transactionReferenceId- Parameters:
identifier
- The transaction identifier value.
-
setTenantId
The tenant id that the payment transaction belongs to.- Parameters:
identifier
- the tenant id value.
-
setApplicationId
The application id that the payment transaction belongs to.- Parameters:
identifier
- the application id value.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-