Class TaxRateModel

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

public class TaxRateModel
extends java.lang.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
    TaxRateModel()  
  • Method Summary

    Modifier and Type Method Description
    java.util.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.
    java.math.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.
    void setRates​(java.util.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.
    void setTotalRate​(java.math.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.
    java.lang.String toString()
    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

  • Method Details

    • getTotalRate

      public java.math.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​(java.math.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 java.util.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​(java.util.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 java.lang.String toString()
      Returns a JSON string representation of TaxRateModel
      Overrides:
      toString in class java.lang.Object