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:
  • Constructor Details

    • TaxCalculationResponse

      public TaxCalculationResponse()
  • Method Details

    • getTaxProviderId

      public String getTaxProviderId()
      The ID of the TaxProvider that was used to process the corresponding request. This can be saved for later calls to the TaxDelegate, 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 of TaxResponseGroup 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 the TaxProvider that was used to process the corresponding request. This can be saved for later calls to the TaxDelegate, 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 of TaxResponseGroup 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.
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object