Class ReverseTaxTransactionRequest

java.lang.Object
com.broadleafcommerce.tax.domain.TaxCalculationRequest
com.broadleafcommerce.tax.domain.ReverseTaxTransactionRequest
All Implemented Interfaces:
Serializable

public class ReverseTaxTransactionRequest extends TaxCalculationRequest
Encapsulated request indicating that taxes that have been committed or saved should be reversed. This is not a refund, but rather marks the taxes as no longer owed in systems that provide tax reporting and remittance. This often accompanies a refund.
Author:
Kelly Tisdell (ktisdell)
See Also:
  • Constructor Details

    • ReverseTaxTransactionRequest

      public ReverseTaxTransactionRequest()
  • Method Details

    • getOriginalTransactionDate

      public Instant getOriginalTransactionDate()
      The date of the original checkout or commit transaction.
    • getReversalRequestId

      public String getReversalRequestId()
      A unique ID to represent this transaction reversal request.
      Since:
      3.0.0
    • setOriginalTransactionDate

      public void setOriginalTransactionDate(Instant originalTransactionDate)
      The date of the original checkout or commit transaction.
    • setReversalRequestId

      public void setReversalRequestId(String reversalRequestId)
      A unique ID to represent this transaction reversal request.
      Since:
      3.0.0
    • equals

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

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class TaxCalculationRequest
    • hashCode

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

      public String toString()
      Overrides:
      toString in class TaxCalculationRequest