Class TransactionIdentifier
- java.lang.Object
-
- com.broadleafcommerce.paymentgateway.domain.TransactionIdentifier
-
- All Implemented Interfaces:
Serializable
public class TransactionIdentifier extends Object implements Serializable
Describes the identifier of a transaction.- Author:
- Chris Kittrell (ckittrell)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransactionIdentifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getIdentifier()
The transaction identifier value.String
getIdentifierType()
Describes the type of transaction identifier.String
getTenantId()
The tenant id that the payment transaction belongs to.int
hashCode()
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.String
toString()
-
-
-
Method Detail
-
getIdentifierType
public String 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
public String getIdentifier()
The transaction identifier value. In most cases, we expect this to be the transactionReferenceId- Returns:
- The transaction identifier value.
-
getTenantId
public String getTenantId()
The tenant id that the payment transaction belongs to.- Returns:
- The tenant id value.
-
setIdentifierType
public void setIdentifierType(String identifierType)
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
public void setIdentifier(String identifier)
The transaction identifier value. In most cases, we expect this to be the transactionReferenceId- Parameters:
identifier
- The transaction identifier value.
-
setTenantId
public void setTenantId(String tenantId)
The tenant id that the payment transaction belongs to.- Parameters:
identifier
- the tenant id value.
-
canEqual
protected boolean canEqual(Object other)
-
-