Class RateModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.RateModel
-
public class RateModel extends java.lang.ObjectIndicates one element of a sales tax rate.
-
-
Constructor Summary
Constructors Constructor Description RateModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Getter for name A readable name of the tax or taxing jurisdiction related to this tax rate.java.math.BigDecimalgetRate()Getter for rate The sales tax rate for general tangible personal property in this jurisdiction.JurisdictionTypegetType()Getter for type The type of jurisdiction associated with this tax rate.voidsetName(java.lang.String value)Setter for name A readable name of the tax or taxing jurisdiction related to this tax rate.voidsetRate(java.math.BigDecimal value)Setter for rate The sales tax rate for general tangible personal property in this jurisdiction.voidsetType(JurisdictionType value)Setter for type The type of jurisdiction associated with this tax rate.java.lang.StringtoString()Returns a JSON string representation of RateModel
-
-
-
Method Detail
-
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:
toStringin classjava.lang.Object
-
-