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 booleancanEqual(Object other)booleanequals(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 ofTaxResponseGroupobjects keyed by fulfillment group reference.StringgetTaxProviderId()The ID of theTaxProviderthat was used to process the corresponding request.inthashCode()voidsetInternalAttributes(Map<String,Object> internalAttributes)Any internal attributes to be copied over to an order on post commit tax operations.voidsetTaxGroups(Map<String,TaxResponseGroup> taxGroups)This is a map ofTaxResponseGroupobjects keyed by fulfillment group reference.voidsetTaxProviderId(String taxProviderId)The ID of theTaxProviderthat was used to process the corresponding request.StringtoString()
-
-
-
Method Detail
-
getTaxProviderId
public String getTaxProviderId()
The ID of theTaxProviderthat 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 ofTaxResponseGroupobjects 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 theTaxProviderthat 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 ofTaxResponseGroupobjects 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)
-
-