Class TaxRuleProductDetailModel
java.lang.Object
net.avalara.avatax.rest.client.models.TaxRuleProductDetailModel
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 -
Method Summary
Modifier and TypeMethodDescriptionGetter for effectiveDate The first date at which this product detail applies.Getter for endDate The last date for which this product detail applies.Getter for productCode Product Code valueGetter for systemId Represents the system Id the detail is applicable for.Getter for taxRuleId TaxRule Id of TaxRule Product Detail entryGetter for taxRuleProductDetailId The unique ID number of this Tax rule product detail.void
setEffectiveDate
(Date value) Setter for effectiveDate The first date at which this product detail applies.void
setEndDate
(Date value) Setter for endDate The last date for which this product detail applies.void
setProductCode
(String value) Setter for productCode Product Code valuevoid
setSystemId
(Integer value) Setter for systemId Represents the system Id the detail is applicable for.void
setTaxRuleId
(Integer value) Setter for taxRuleId TaxRule Id of TaxRule Product Detail entryvoid
setTaxRuleProductDetailId
(Integer value) Setter for taxRuleProductDetailId The unique ID number of this Tax rule product detail.toString()
Returns a JSON string representation of TaxRuleProductDetailModel
-
Constructor Details
-
TaxRuleProductDetailModel
public TaxRuleProductDetailModel()
-
-
Method Details
-
getTaxRuleProductDetailId
Getter for taxRuleProductDetailId The unique ID number of this Tax rule product detail. -
setTaxRuleProductDetailId
Setter for taxRuleProductDetailId The unique ID number of this Tax rule product detail. -
getTaxRuleId
Getter for taxRuleId TaxRule Id of TaxRule Product Detail entry -
setTaxRuleId
Setter for taxRuleId TaxRule Id of TaxRule Product Detail entry -
getProductCode
Getter for productCode Product Code value -
setProductCode
Setter for productCode Product Code value -
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
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
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
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
Getter for systemId Represents the system Id the detail is applicable for. -
setSystemId
Setter for systemId Represents the system Id the detail is applicable for. -
toString
Returns a JSON string representation of TaxRuleProductDetailModel
-