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
Name or ISO 3166 code identifying the country where this rule will apply.
|
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 |
getCurrencyCode()
Getter for currencyCode
The currency code to use for this rule.
|
java.lang.String |
getCustomerUsageType()
Getter for customerUsageType
DEPRECATED - Date: 10/16/2017, Version: 17.11, Message: Please use `entityUseCode` instead.
|
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.String |
getEntityUseCode()
Getter for entityUseCode
The entity use code to 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
Allows you to make tax rules apply to lower jurisdictions.
|
java.lang.Boolean |
getIsSTPro()
Getter for isSTPro
DEPRECATED - Date: 8/27/2018, Version: 18.9, Message: This field is no longer required.
|
java.lang.String |
getJurisCode()
Getter for jurisCode
The code of the jurisdiction to which this tax rule applies.
|
JurisdictionType |
getJurisdictionTypeId()
Getter for jurisdictionTypeId
The type 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
DEPRECATED - Date: 12/20/2017, Version: 18.1, Message: Please use `jurisdictionTypeId` instead.
|
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 |
getNonPassthroughExpression()
Getter for nonPassthroughExpression
Reserved for Avalara internal usage.
|
java.lang.String |
getOptions()
Getter for options
Supports custom options for your tax rule.
|
java.lang.Integer |
getPreferredProgramId()
Getter for preferredProgramId
Reserved for Avalara internal usage.
|
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 - Date: 8/27/2018, Version: 18.9, Message: Please use `rateTypeCode`, `taxTypeGroup` and `subTaxType` instead.
|
java.lang.String |
getRegion()
Getter for region
Name or ISO 3166 code identifying the region where this rule will apply.
|
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
For rules that apply to a specific tax code only, this specifies which tax code is affected by this rule.
|
java.lang.Integer |
getTaxCodeId()
Getter for taxCodeId
For rules that apply to a specific tax code only, this specifies which tax code is affected by this rule.
|
TaxRuleTypeId |
getTaxRuleTypeId()
Getter for taxRuleTypeId
This type value determines the behavior of the tax rule.
|
java.lang.String |
getTaxSubType()
Getter for taxSubType
This field has different behavior based on the type of rule.
|
java.lang.String |
getTaxTypeGroup()
Getter for taxTypeGroup
This field has different behavior based on the type of rule.
|
MatchingTaxType |
getTaxTypeId()
Getter for taxTypeId
Some tax type groups contain multiple different types of tax.
|
java.math.BigDecimal |
getThreshold()
Getter for threshold
The per-unit threshold that must be met before this rule applies.
|
java.lang.Integer |
getUomId()
Getter for uomId
For tax rules that are calculated using units of measurement, this indicates the unit of measurement type
used to calculate the amounts for this rule.
|
java.math.BigDecimal |
getValue()
Getter for value
This field has different behavior based on the type of the 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
Name or ISO 3166 code identifying the country where this rule will apply.
|
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 |
setCurrencyCode(java.lang.String value)
Setter for currencyCode
The currency code to use for this rule.
|
void |
setCustomerUsageType(java.lang.String value)
Setter for customerUsageType
DEPRECATED - Date: 10/16/2017, Version: 17.11, Message: Please use `entityUseCode` instead.
|
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 |
setEntityUseCode(java.lang.String value)
Setter for entityUseCode
The entity use code to 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
Allows you to make tax rules apply to lower jurisdictions.
|
void |
setIsSTPro(java.lang.Boolean value)
Setter for isSTPro
DEPRECATED - Date: 8/27/2018, Version: 18.9, Message: This field is no longer required.
|
void |
setJurisCode(java.lang.String value)
Setter for jurisCode
The code of the jurisdiction to which this tax rule applies.
|
void |
setJurisdictionTypeId(JurisdictionType value)
Setter for jurisdictionTypeId
The type 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
DEPRECATED - Date: 12/20/2017, Version: 18.1, Message: Please use `jurisdictionTypeId` instead.
|
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 |
setNonPassthroughExpression(java.lang.String value)
Setter for nonPassthroughExpression
Reserved for Avalara internal usage.
|
void |
setOptions(java.lang.String value)
Setter for options
Supports custom options for your tax rule.
|
void |
setPreferredProgramId(java.lang.Integer value)
Setter for preferredProgramId
Reserved for Avalara internal usage.
|
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 - Date: 8/27/2018, Version: 18.9, Message: Please use `rateTypeCode`, `taxTypeGroup` and `subTaxType` instead.
|
void |
setRegion(java.lang.String value)
Setter for region
Name or ISO 3166 code identifying the region where this rule will apply.
|
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
For rules that apply to a specific tax code only, this specifies which tax code is affected by this rule.
|
void |
setTaxCodeId(java.lang.Integer value)
Setter for taxCodeId
For rules that apply to a specific tax code only, this specifies which tax code is affected by 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
This field has different behavior based on the type of rule.
|
void |
setTaxTypeGroup(java.lang.String value)
Setter for taxTypeGroup
This field has different behavior based on the type of rule.
|
void |
setTaxTypeId(MatchingTaxType value)
Setter for taxTypeId
Some tax type groups contain multiple different types of tax.
|
void |
setThreshold(java.math.BigDecimal value)
Setter for threshold
The per-unit threshold that must be met before this rule applies.
|
void |
setUomId(java.lang.Integer value)
Setter for uomId
For tax rules that are calculated using units of measurement, this indicates the unit of measurement type
used to calculate the amounts for this rule.
|
void |
setValue(java.math.BigDecimal value)
Setter for value
This field has different behavior based on the type of the 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 JurisdictionType getJurisdictionTypeId()
public void setJurisdictionTypeId(JurisdictionType value)
public java.lang.String getCustomerUsageType()
public void setCustomerUsageType(java.lang.String value)
public java.lang.String getEntityUseCode()
public void setEntityUseCode(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.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.String getNonPassthroughExpression()
public void setNonPassthroughExpression(java.lang.String value)
public java.lang.String getCurrencyCode()
public void setCurrencyCode(java.lang.String value)
public java.lang.Integer getPreferredProgramId()
public void setPreferredProgramId(java.lang.Integer value)
public java.lang.Integer getUomId()
public void setUomId(java.lang.Integer 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 toString()
toString
in class java.lang.Object