public class TaxRuleModel
extends java.lang.Object
Constructor and Description |
---|
TaxRuleModel() |
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
getCap()
Getter for cap
The maximum cap for the price of this item according to this rule.
|
java.lang.Integer |
getCompanyId()
Getter for companyId
The unique ID number of the company that owns this tax rule.
|
java.lang.String |
getCountry()
Getter for country
The two character ISO 3166 country code for the locations where this rule applies.
|
java.lang.String |
getCountyFIPS()
Getter for countyFIPS
For U.S.
|
java.util.Date |
getCreatedDate()
Getter for createdDate
The date when this record was created.
|
java.lang.Integer |
getCreatedUserId()
Getter for createdUserId
The User ID of the user who created this record.
|
java.lang.String |
getCustomerUsageType()
Getter for customerUsageType
The type of customer usage to which this rule applies.
|
java.lang.String |
getDescription()
Getter for description
A friendly name for this tax rule.
|
java.util.Date |
getEffectiveDate()
Getter for effectiveDate
The first date at which this rule applies.
|
java.util.Date |
getEndDate()
Getter for endDate
The last date for which this rule applies.
|
java.lang.Integer |
getId()
Getter for id
The unique ID number of this tax rule.
|
java.lang.Boolean |
getIsAllJuris()
Getter for isAllJuris
Set this value to true if this tax rule applies in all jurisdictions.
|
java.lang.Boolean |
getIsSTPro()
Getter for isSTPro
If true, indicates this rule is for Sales Tax Pro.
|
java.lang.String |
getJurisCode()
Getter for jurisCode
The code of the jurisdiction to which this tax rule applies.
|
java.lang.String |
getJurisName()
Getter for jurisName
The name of the jurisdiction to which this tax rule applies.
|
JurisTypeId |
getJurisTypeId()
Getter for jurisTypeId
The type of the jurisdiction to which this tax rule applies.
|
java.util.Date |
getModifiedDate()
Getter for modifiedDate
The date/time when this record was last modified.
|
java.lang.Integer |
getModifiedUserId()
Getter for modifiedUserId
The user ID of the user who last modified this record.
|
java.lang.String |
getOptions()
Getter for options
Custom option flags for this rule.
|
java.lang.String |
getRateTypeCode()
Getter for rateTypeCode
Indicates the code of the rate type that applies to this rule.
|
RateType |
getRateTypeId()
Getter for rateTypeId
(DEPRECATED) Enumerated rate type to which this rule applies.
|
java.lang.Integer |
getRateTypeTaxTypeMappingId()
Getter for rateTypeTaxTypeMappingId
Id for RateTypeTaxTypeMapping object
|
java.lang.String |
getRegion()
Getter for region
The state, region, or province name for the locations where this rule applies.
|
Sourcing |
getSourcing()
Getter for sourcing
The sourcing types to which this rule applies.
|
java.lang.String |
getStateFIPS()
Getter for stateFIPS
For U.S.
|
java.lang.String |
getTaxCode()
Getter for taxCode
The code string of the tax code for this rule.
|
java.lang.Integer |
getTaxCodeId()
Getter for taxCodeId
The unique ID number of the tax code for this rule.
|
TaxRuleTypeId |
getTaxRuleTypeId()
Getter for taxRuleTypeId
This type value determines the behavior of the tax rule.
|
java.lang.String |
getTaxSubType()
Getter for taxSubType
The Id of sub tax types supported by Avalara.
|
java.lang.String |
getTaxTypeGroup()
Getter for taxTypeGroup
The group Id of tax types supported by Avalara.
|
MatchingTaxType |
getTaxTypeId()
Getter for taxTypeId
Indicates which tax types to which this rule applies.
|
java.lang.Integer |
getTaxTypeMappingId()
Getter for taxTypeMappingId
Id for TaxTypeMapping object
|
java.math.BigDecimal |
getThreshold()
Getter for threshold
The per-unit threshold that must be met before this rule applies.
|
java.math.BigDecimal |
getValue()
Getter for value
The corrected rate for this tax rule.
|
void |
setCap(java.math.BigDecimal value)
Setter for cap
The maximum cap for the price of this item according to this rule.
|
void |
setCompanyId(java.lang.Integer value)
Setter for companyId
The unique ID number of the company that owns this tax rule.
|
void |
setCountry(java.lang.String value)
Setter for country
The two character ISO 3166 country code for the locations where this rule applies.
|
void |
setCountyFIPS(java.lang.String value)
Setter for countyFIPS
For U.S.
|
void |
setCreatedDate(java.util.Date value)
Setter for createdDate
The date when this record was created.
|
void |
setCreatedUserId(java.lang.Integer value)
Setter for createdUserId
The User ID of the user who created this record.
|
void |
setCustomerUsageType(java.lang.String value)
Setter for customerUsageType
The type of customer usage to which this rule applies.
|
void |
setDescription(java.lang.String value)
Setter for description
A friendly name for this tax rule.
|
void |
setEffectiveDate(java.util.Date value)
Setter for effectiveDate
The first date at which this rule applies.
|
void |
setEndDate(java.util.Date value)
Setter for endDate
The last date for which this rule applies.
|
void |
setId(java.lang.Integer value)
Setter for id
The unique ID number of this tax rule.
|
void |
setIsAllJuris(java.lang.Boolean value)
Setter for isAllJuris
Set this value to true if this tax rule applies in all jurisdictions.
|
void |
setIsSTPro(java.lang.Boolean value)
Setter for isSTPro
If true, indicates this rule is for Sales Tax Pro.
|
void |
setJurisCode(java.lang.String value)
Setter for jurisCode
The code of the jurisdiction to which this tax rule applies.
|
void |
setJurisName(java.lang.String value)
Setter for jurisName
The name of the jurisdiction to which this tax rule applies.
|
void |
setJurisTypeId(JurisTypeId value)
Setter for jurisTypeId
The type of the jurisdiction to which this tax rule applies.
|
void |
setModifiedDate(java.util.Date value)
Setter for modifiedDate
The date/time when this record was last modified.
|
void |
setModifiedUserId(java.lang.Integer value)
Setter for modifiedUserId
The user ID of the user who last modified this record.
|
void |
setOptions(java.lang.String value)
Setter for options
Custom option flags for this rule.
|
void |
setRateTypeCode(java.lang.String value)
Setter for rateTypeCode
Indicates the code of the rate type that applies to this rule.
|
void |
setRateTypeId(RateType value)
Setter for rateTypeId
(DEPRECATED) Enumerated rate type to which this rule applies.
|
void |
setRateTypeTaxTypeMappingId(java.lang.Integer value)
Setter for rateTypeTaxTypeMappingId
Id for RateTypeTaxTypeMapping object
|
void |
setRegion(java.lang.String value)
Setter for region
The state, region, or province name for the locations where this rule applies.
|
void |
setSourcing(Sourcing value)
Setter for sourcing
The sourcing types to which this rule applies.
|
void |
setStateFIPS(java.lang.String value)
Setter for stateFIPS
For U.S.
|
void |
setTaxCode(java.lang.String value)
Setter for taxCode
The code string of the tax code for this rule.
|
void |
setTaxCodeId(java.lang.Integer value)
Setter for taxCodeId
The unique ID number of the tax code for this rule.
|
void |
setTaxRuleTypeId(TaxRuleTypeId value)
Setter for taxRuleTypeId
This type value determines the behavior of the tax rule.
|
void |
setTaxSubType(java.lang.String value)
Setter for taxSubType
The Id of sub tax types supported by Avalara.
|
void |
setTaxTypeGroup(java.lang.String value)
Setter for taxTypeGroup
The group Id of tax types supported by Avalara.
|
void |
setTaxTypeId(MatchingTaxType value)
Setter for taxTypeId
Indicates which tax types to which this rule applies.
|
void |
setTaxTypeMappingId(java.lang.Integer value)
Setter for taxTypeMappingId
Id for TaxTypeMapping object
|
void |
setThreshold(java.math.BigDecimal value)
Setter for threshold
The per-unit threshold that must be met before this rule applies.
|
void |
setValue(java.math.BigDecimal value)
Setter for value
The corrected rate for this tax rule.
|
java.lang.String |
toString()
Returns a JSON string representation of TaxRuleModel
|
public java.lang.Integer getId()
public void setId(java.lang.Integer value)
public java.lang.Integer getCompanyId()
public void setCompanyId(java.lang.Integer value)
public java.lang.Integer getTaxCodeId()
public void setTaxCodeId(java.lang.Integer value)
public java.lang.String getTaxCode()
public void setTaxCode(java.lang.String value)
public java.lang.String getStateFIPS()
public void setStateFIPS(java.lang.String value)
public java.lang.String getJurisName()
public void setJurisName(java.lang.String value)
public java.lang.String getJurisCode()
public void setJurisCode(java.lang.String value)
public JurisTypeId getJurisTypeId()
public void setJurisTypeId(JurisTypeId value)
public java.lang.String getCustomerUsageType()
public void setCustomerUsageType(java.lang.String value)
public MatchingTaxType getTaxTypeId()
public void setTaxTypeId(MatchingTaxType value)
public RateType getRateTypeId()
public void setRateTypeId(RateType value)
public java.lang.String getRateTypeCode()
public void setRateTypeCode(java.lang.String value)
public TaxRuleTypeId getTaxRuleTypeId()
public void setTaxRuleTypeId(TaxRuleTypeId value)
public java.lang.Boolean getIsAllJuris()
public void setIsAllJuris(java.lang.Boolean value)
public java.math.BigDecimal getValue()
public void setValue(java.math.BigDecimal value)
public java.math.BigDecimal getCap()
public void setCap(java.math.BigDecimal value)
public java.math.BigDecimal getThreshold()
public void setThreshold(java.math.BigDecimal value)
public java.lang.String getOptions()
public void setOptions(java.lang.String value)
public java.util.Date getEffectiveDate()
public void setEffectiveDate(java.util.Date value)
public java.util.Date getEndDate()
public void setEndDate(java.util.Date value)
public java.lang.String getDescription()
public void setDescription(java.lang.String value)
public java.lang.String getCountyFIPS()
public void setCountyFIPS(java.lang.String value)
public java.lang.Boolean getIsSTPro()
public void setIsSTPro(java.lang.Boolean value)
public java.lang.String getCountry()
public void setCountry(java.lang.String value)
public java.lang.String getRegion()
public void setRegion(java.lang.String value)
public Sourcing getSourcing()
public void setSourcing(Sourcing value)
public java.util.Date getCreatedDate()
public void setCreatedDate(java.util.Date value)
public java.lang.Integer getCreatedUserId()
public void setCreatedUserId(java.lang.Integer value)
public java.util.Date getModifiedDate()
public void setModifiedDate(java.util.Date value)
public java.lang.Integer getModifiedUserId()
public void setModifiedUserId(java.lang.Integer value)
public java.lang.String getTaxTypeGroup()
public void setTaxTypeGroup(java.lang.String value)
public java.lang.String getTaxSubType()
public void setTaxSubType(java.lang.String value)
public java.lang.Integer getTaxTypeMappingId()
public void setTaxTypeMappingId(java.lang.Integer value)
public java.lang.Integer getRateTypeTaxTypeMappingId()
public void setRateTypeTaxTypeMappingId(java.lang.Integer value)
public java.lang.String toString()
toString
in class java.lang.Object