Class TaxRuleProductDetailModel
java.lang.Object
net.avalara.avatax.rest.client.models.TaxRuleProductDetailModel
public class TaxRuleProductDetailModel
extends java.lang.Object
Represents a tax rule product detail that changes the behavior of Avalara's tax engine for certain tax rules.
Avalara supports a two types of tax product detail. For information about tax rule Product Types
HSCode and TaxCode
Because different types of tax rules have different behavior, some fields may change their behavior based on
the type of tax rule selected. Please read the documentation for each field carefully and ensure that
the value you send is appropriate for the type of tax rule.
-
Constructor Summary
Constructors Constructor Description TaxRuleProductDetailModel() -
Method Summary
Modifier and Type Method Description java.util.DategetEffectiveDate()Getter for effectiveDate The first date at which this product detail applies.java.util.DategetEndDate()Getter for endDate The last date for which this product detail applies.java.lang.StringgetProductCode()Getter for productCode Product Code valuejava.lang.IntegergetSystemId()Getter for systemId Represents the system Id the detail is applicable for.java.lang.IntegergetTaxRuleId()Getter for taxRuleId TaxRule Id of TaxRule Product Detail entryjava.lang.IntegergetTaxRuleProductDetailId()Getter for taxRuleProductDetailId The unique ID number of this Tax rule product detail.voidsetEffectiveDate(java.util.Date value)Setter for effectiveDate The first date at which this product detail applies.voidsetEndDate(java.util.Date value)Setter for endDate The last date for which this product detail applies.voidsetProductCode(java.lang.String value)Setter for productCode Product Code valuevoidsetSystemId(java.lang.Integer value)Setter for systemId Represents the system Id the detail is applicable for.voidsetTaxRuleId(java.lang.Integer value)Setter for taxRuleId TaxRule Id of TaxRule Product Detail entryvoidsetTaxRuleProductDetailId(java.lang.Integer value)Setter for taxRuleProductDetailId The unique ID number of this Tax rule product detail.java.lang.StringtoString()Returns a JSON string representation of TaxRuleProductDetailModel
-
Constructor Details
-
TaxRuleProductDetailModel
public TaxRuleProductDetailModel()
-
-
Method Details
-
getTaxRuleProductDetailId
public java.lang.Integer getTaxRuleProductDetailId()Getter for taxRuleProductDetailId The unique ID number of this Tax rule product detail. -
setTaxRuleProductDetailId
public void setTaxRuleProductDetailId(java.lang.Integer value)Setter for taxRuleProductDetailId The unique ID number of this Tax rule product detail. -
getTaxRuleId
public java.lang.Integer getTaxRuleId()Getter for taxRuleId TaxRule Id of TaxRule Product Detail entry -
setTaxRuleId
public void setTaxRuleId(java.lang.Integer value)Setter for taxRuleId TaxRule Id of TaxRule Product Detail entry -
getProductCode
public java.lang.String getProductCode()Getter for productCode Product Code value -
setProductCode
public void setProductCode(java.lang.String value)Setter for productCode Product Code value -
getEffectiveDate
public java.util.Date getEffectiveDate()Getter for effectiveDate The first date at which this product detail applies. If `null`, this product detail will apply to all dates prior to the end date. -
setEffectiveDate
public void setEffectiveDate(java.util.Date value)Setter for effectiveDate The first date at which this product detail applies. If `null`, this product detail will apply to all dates prior to the end date. -
getEndDate
public java.util.Date getEndDate()Getter for endDate The last date for which this product detail applies. If `null`, this product detail will apply to all dates after the effective date. -
setEndDate
public void setEndDate(java.util.Date value)Setter for endDate The last date for which this product detail applies. If `null`, this product detail will apply to all dates after the effective date. -
getSystemId
public java.lang.Integer getSystemId()Getter for systemId Represents the system Id the detail is applicable for. -
setSystemId
public void setSystemId(java.lang.Integer value)Setter for systemId Represents the system Id the detail is applicable for. -
toString
public java.lang.String toString()Returns a JSON string representation of TaxRuleProductDetailModel- Overrides:
toStringin classjava.lang.Object
-