Package com.broadleafcommerce.tax.domain
Class TaxCalculationResponse
java.lang.Object
com.broadleafcommerce.tax.domain.TaxCalculationResponse
- All Implemented Interfaces:
Serializable
- Author:
- Kelly Tisdell (ktisdell)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Any internal attributes to be copied over to an order on post commit tax operations.This is a map ofTaxResponseGroup
objects keyed by fulfillment group reference.The ID of theTaxProvider
that was used to process the corresponding request.int
hashCode()
void
setInternalAttributes
(Map<String, Object> internalAttributes) Any internal attributes to be copied over to an order on post commit tax operations.void
setTaxGroups
(Map<String, TaxResponseGroup> taxGroups) This is a map ofTaxResponseGroup
objects keyed by fulfillment group reference.void
setTaxProviderId
(String taxProviderId) The ID of theTaxProvider
that was used to process the corresponding request.toString()
-
Constructor Details
-
TaxCalculationResponse
public TaxCalculationResponse()
-
-
Method Details
-
getTaxProviderId
The ID of theTaxProvider
that was used to process the corresponding request. This can be saved for later calls to theTaxDelegate
, which provides a hint as to which provider should be used, or a flag for logging when a different provider is used, usually due to a fallback mechanism. -
getTaxGroups
This is a map ofTaxResponseGroup
objects keyed by fulfillment group reference. -
getInternalAttributes
Any internal attributes to be copied over to an order on post commit tax operations. -
setTaxProviderId
The ID of theTaxProvider
that was used to process the corresponding request. This can be saved for later calls to theTaxDelegate
, which provides a hint as to which provider should be used, or a flag for logging when a different provider is used, usually due to a fallback mechanism. -
setTaxGroups
This is a map ofTaxResponseGroup
objects keyed by fulfillment group reference. -
setInternalAttributes
Any internal attributes to be copied over to an order on post commit tax operations. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-