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:
  • Constructor Details

    • TransactionIdentifier

      public TransactionIdentifier()
  • Method Details

    • getIdentifierType

      public String getIdentifierType()
      Describes the type of transaction identifier. In most cases, we expect this to be DefaultTransactionIdentifierTypes.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 be DefaultTransactionIdentifierTypes.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.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object