Class TaxRateModel

java.lang.Object
net.avalara.avatax.rest.client.models.TaxRateModel

public class TaxRateModel extends Object
Contains information about the general tangible personal property sales tax rates for this jurisdiction. This rate is calculated by making assumptions about the tax calculation process. It does not account for: * Sourcing rules, such as origin-and-destination based transactions. * Product taxability rules, such as different tax rates for different product types. * Nexus declarations, where some customers are not obligated to collect tax in specific jurisdictions. * Tax thresholds and rate differences by amounts. * And many more custom use cases. To upgrade to a fully-featured and accurate tax process that handles these scenarios correctly, please contact Avalara to upgrade to AvaTax!
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Getter for rates The list of individual rate elements for general tangible personal property sold at a retail point of presence in this jurisdiction on this date.
    Getter for totalRate The total sales tax rate for general tangible personal property sold at a retail point of presence in this jurisdiction on this date.
    void
    Setter for rates The list of individual rate elements for general tangible personal property sold at a retail point of presence in this jurisdiction on this date.
    void
    Setter for totalRate The total sales tax rate for general tangible personal property sold at a retail point of presence in this jurisdiction on this date.
    Returns a JSON string representation of TaxRateModel

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • TaxRateModel

      public TaxRateModel()
  • Method Details

    • getTotalRate

      public BigDecimal getTotalRate()
      Getter for totalRate The total sales tax rate for general tangible personal property sold at a retail point of presence in this jurisdiction on this date.
    • setTotalRate

      public void setTotalRate(BigDecimal value)
      Setter for totalRate The total sales tax rate for general tangible personal property sold at a retail point of presence in this jurisdiction on this date.
    • getRates

      public ArrayList<RateModel> getRates()
      Getter for rates The list of individual rate elements for general tangible personal property sold at a retail point of presence in this jurisdiction on this date.
    • setRates

      public void setRates(ArrayList<RateModel> value)
      Setter for rates The list of individual rate elements for general tangible personal property sold at a retail point of presence in this jurisdiction on this date.
    • toString

      public String toString()
      Returns a JSON string representation of TaxRateModel
      Overrides:
      toString in class Object