Class TaxRuleProductDetailModel

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

public class TaxRuleProductDetailModel extends 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 Details

    • TaxRuleProductDetailModel

      public TaxRuleProductDetailModel()
  • Method Details

    • getTaxRuleProductDetailId

      public Integer getTaxRuleProductDetailId()
      Getter for taxRuleProductDetailId The unique ID number of this Tax rule product detail.
    • setTaxRuleProductDetailId

      public void setTaxRuleProductDetailId(Integer value)
      Setter for taxRuleProductDetailId The unique ID number of this Tax rule product detail.
    • getTaxRuleId

      public Integer getTaxRuleId()
      Getter for taxRuleId TaxRule Id of TaxRule Product Detail entry
    • setTaxRuleId

      public void setTaxRuleId(Integer value)
      Setter for taxRuleId TaxRule Id of TaxRule Product Detail entry
    • getProductCode

      public String getProductCode()
      Getter for productCode Product Code value
    • setProductCode

      public void setProductCode(String value)
      Setter for productCode Product Code value
    • getEffectiveDate

      public 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(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 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(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 Integer getSystemId()
      Getter for systemId Represents the system Id the detail is applicable for.
    • setSystemId

      public void setSystemId(Integer value)
      Setter for systemId Represents the system Id the detail is applicable for.
    • toString

      public String toString()
      Returns a JSON string representation of TaxRuleProductDetailModel
      Overrides:
      toString in class Object