Package com.broadleafcommerce.tax.domain
Class ReverseTaxTransactionRequest
java.lang.Object
com.broadleafcommerce.tax.domain.TaxCalculationRequest
com.broadleafcommerce.tax.domain.ReverseTaxTransactionRequest
- All Implemented Interfaces:
Serializable
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The date of the original checkout or commit transaction.int
hashCode()
void
setOriginalTransactionDate
(Instant originalTransactionDate) The date of the original checkout or commit transaction.toString()
Methods inherited from class com.broadleafcommerce.tax.domain.TaxCalculationRequest
getAttributes, getCartId, getCurrency, getCustomer, getCustomerTaxExemptionCode, getProviderId, getTaxCalculationGroups, getVatRegistrationId, setAttributes, setCartId, setCurrency, setCustomer, setCustomerTaxExemptionCode, setProviderId, setTaxCalculationGroups, setVatRegistrationId
-
Constructor Details
-
ReverseTaxTransactionRequest
public ReverseTaxTransactionRequest()
-
-
Method Details
-
getOriginalTransactionDate
The date of the original checkout or commit transaction. -
setOriginalTransactionDate
The date of the original checkout or commit transaction. -
equals
- Overrides:
equals
in classTaxCalculationRequest
-
canEqual
- Overrides:
canEqual
in classTaxCalculationRequest
-
hashCode
public int hashCode()- Overrides:
hashCode
in classTaxCalculationRequest
-
toString
- Overrides:
toString
in classTaxCalculationRequest
-