Package com.broadleafcommerce.tax.domain
Class TaxCalculationResponse
- java.lang.Object
-
- com.broadleafcommerce.tax.domain.TaxCalculationResponse
-
- All Implemented Interfaces:
Serializable
public class TaxCalculationResponse extends Object implements Serializable
- Author:
- Kelly Tisdell (ktisdell)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TaxCalculationResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
Map<String,Object>
getInternalAttributes()
Any internal attributes to be copied over to an order on post commit tax operations.Map<String,TaxResponseGroup>
getTaxGroups()
This is a map ofTaxResponseGroup
objects keyed by fulfillment group reference.String
getTaxProviderId()
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.String
toString()
-
-
-
Method Detail
-
getTaxProviderId
public String 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
public Map<String,TaxResponseGroup> getTaxGroups()
This is a map ofTaxResponseGroup
objects keyed by fulfillment group reference.
-
getInternalAttributes
public Map<String,Object> getInternalAttributes()
Any internal attributes to be copied over to an order on post commit tax operations.
-
setTaxProviderId
public void setTaxProviderId(String taxProviderId)
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
public void setTaxGroups(Map<String,TaxResponseGroup> taxGroups)
This is a map ofTaxResponseGroup
objects keyed by fulfillment group reference.
-
setInternalAttributes
public void setInternalAttributes(Map<String,Object> internalAttributes)
Any internal attributes to be copied over to an order on post commit tax operations.
-
canEqual
protected boolean canEqual(Object other)
-
-