Class RateModel

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

public class RateModel
extends java.lang.Object
Indicates one element of a sales tax rate.
  • Constructor Summary

    Constructors 
    Constructor Description
    RateModel()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getName()
    Getter for name A readable name of the tax or taxing jurisdiction related to this tax rate.
    java.math.BigDecimal getRate()
    Getter for rate The sales tax rate for general tangible personal property in this jurisdiction.
    JurisdictionType getType()
    Getter for type The type of jurisdiction associated with this tax rate.
    void setName​(java.lang.String value)
    Setter for name A readable name of the tax or taxing jurisdiction related to this tax rate.
    void setRate​(java.math.BigDecimal value)
    Setter for rate The sales tax rate for general tangible personal property in this jurisdiction.
    void setType​(JurisdictionType value)
    Setter for type The type of jurisdiction associated with this tax rate.
    java.lang.String toString()
    Returns a JSON string representation of RateModel

    Methods inherited from class java.lang.Object

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

  • Method Details

    • getRate

      public java.math.BigDecimal getRate()
      Getter for rate The sales tax rate for general tangible personal property in this jurisdiction.
    • setRate

      public void setRate​(java.math.BigDecimal value)
      Setter for rate The sales tax rate for general tangible personal property in this jurisdiction.
    • getName

      public java.lang.String getName()
      Getter for name A readable name of the tax or taxing jurisdiction related to this tax rate.
    • setName

      public void setName​(java.lang.String value)
      Setter for name A readable name of the tax or taxing jurisdiction related to this tax rate.
    • getType

      public JurisdictionType getType()
      Getter for type The type of jurisdiction associated with this tax rate.
    • setType

      public void setType​(JurisdictionType value)
      Setter for type The type of jurisdiction associated with this tax rate.
    • toString

      public java.lang.String toString()
      Returns a JSON string representation of RateModel
      Overrides:
      toString in class java.lang.Object