Class TransactionLineDetailModel


  • public class TransactionLineDetailModel
    extends java.lang.Object
    An individual tax detail element. Represents the amount of tax calculated for a particular jurisdiction, for a particular line in an invoice.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Long getAddressId()
      Getter for addressId The unique ID number of the address used for this tax detail.
      java.lang.String getCountry()
      Getter for country The two character ISO 3166 country code of the country where this tax detail is assigned.
      java.lang.String getCountyFIPS()
      Getter for countyFIPS For U.S.
      java.math.BigDecimal getExemptAmount()
      Getter for exemptAmount The amount of this line that was considered exempt in this tax detail.
      java.lang.Integer getExemptReasonId()
      Getter for exemptReasonId The unique ID number of the exemption reason for this tax detail.
      java.math.BigDecimal getExemptUnits()
      Getter for exemptUnits Number of units in this line item that were calculated to be exempt according to this rate detail.
      java.lang.Long getId()
      Getter for id The unique ID number of this tax detail.
      java.lang.Boolean getInState()
      Getter for inState True if this detail element represented an in-state transaction.
      java.lang.Boolean getIsFee()
      Getter for isFee The Taxes/Fee component.
      java.lang.Boolean getIsNonPassThru()
      Getter for isNonPassThru True if this value is a non-passthrough tax.
      java.lang.String getJurisCode()
      Getter for jurisCode The code of the jurisdiction to which this tax detail applies.
      java.lang.Integer getJurisdictionId()
      Getter for jurisdictionId The unique ID number of the jurisdiction to which this tax detail applies.
      JurisdictionType getJurisdictionType()
      Getter for jurisdictionType The type of the jurisdiction in which this tax detail applies.
      java.lang.String getJurisName()
      Getter for jurisName The name of the jurisdiction to which this tax detail applies.
      JurisTypeId getJurisType()
      Getter for jurisType DEPRECATED - Date: 12/20/2017, Version: 18.1, Message: Use jurisdictionTypeId instead.
      LiabilityType getLiabilityType()
      Getter for liabilityType LiabilityType identifies the party liable to file the tax.
      java.math.BigDecimal getNonTaxableAmount()
      Getter for nonTaxableAmount The amount of this line item that was considered nontaxable in this tax detail.
      java.lang.Integer getNonTaxableRuleId()
      Getter for nonTaxableRuleId The rule according to which portion of this detail was considered nontaxable.
      TaxRuleTypeId getNonTaxableType()
      Getter for nonTaxableType The type of nontaxability that was applied to this tax detail.
      java.math.BigDecimal getNonTaxableUnits()
      Getter for nonTaxableUnits Number of units in this line item that were calculated to be nontaxable according to this rate detail.
      java.math.BigDecimal getRate()
      Getter for rate The rate at which this tax detail was calculated.
      java.lang.Integer getRateRuleId()
      Getter for rateRuleId The unique ID number of the rule according to which this tax detail was calculated.
      java.lang.Integer getRateSourceId()
      Getter for rateSourceId The unique ID number of the source of the rate according to which this tax detail was calculated.
      RateType getRateType()
      Getter for rateType DEPRECATED - Date: 12/20/2017, Version: 18.1, Message: Please use rateTypeCode instead.
      java.lang.String getRateTypeCode()
      Getter for rateTypeCode Indicates the code of the rate type that was used to calculate this tax detail.
      java.lang.String getRegion()
      Getter for region The two-or-three character ISO region code for the region where this tax detail is assigned.
      java.math.BigDecimal getReportingExemptUnits()
      Getter for reportingExemptUnits Number of units in this line item that were calculated to be exempt according to this rate detail in the reporting currency.
      java.math.BigDecimal getReportingNonTaxableUnits()
      Getter for reportingNonTaxableUnits Number of units in this line item that were calculated to be nontaxable according to this rate detail in the reporting currency.
      java.math.BigDecimal getReportingTax()
      Getter for reportingTax The amount of tax for this tax detail in the reporting currency.
      java.math.BigDecimal getReportingTaxableUnits()
      Getter for reportingTaxableUnits Number of units in this line item that were calculated to be taxable according to this rate detail in the reporting currency.
      java.math.BigDecimal getReportingTaxCalculated()
      Getter for reportingTaxCalculated The amount of tax that AvaTax calculated in the reporting currency.
      java.lang.String getSerCode()
      Getter for serCode For Streamlined Sales Tax customers, the SST Electronic Return code under which this tax detail should be applied.
      java.lang.String getSignatureCode()
      Getter for signatureCode The Avalara-specified signature code of the jurisdiction to which this tax detail applies.
      Sourcing getSourcing()
      Getter for sourcing Indicates whether this tax detail applies to the origin or destination of the transaction.
      java.lang.String getStateAssignedNo()
      Getter for stateAssignedNo The state assigned number of the jurisdiction to which this tax detail applies.
      java.lang.String getStateFIPS()
      Getter for stateFIPS For U.S.
      java.math.BigDecimal getTax()
      Getter for tax The amount of tax for this tax detail.
      java.math.BigDecimal getTaxableAmount()
      Getter for taxableAmount The taxable amount of this tax detail.
      java.math.BigDecimal getTaxableUnits()
      Getter for taxableUnits Number of units in this line item that were calculated to be taxable according to this rate detail.
      java.lang.Integer getTaxAuthorityTypeId()
      Getter for taxAuthorityTypeId The type of the tax authority to which this tax will be remitted.
      java.math.BigDecimal getTaxCalculated()
      Getter for taxCalculated The amount of tax that AvaTax calculated.
      java.lang.String getTaxName()
      Getter for taxName The name of the tax against which this tax amount was calculated.
      java.math.BigDecimal getTaxOverride()
      Getter for taxOverride The amount of tax override that was specified for this tax line.
      java.lang.Integer getTaxRegionId()
      Getter for taxRegionId The unique ID number of the tax region.
      java.lang.String getTaxSubTypeId()
      Getter for taxSubTypeId The id of the tax subtype.
      java.lang.String getTaxType()
      Getter for taxType The type of tax that was calculated.
      java.lang.String getTaxTypeGroupId()
      Getter for taxTypeGroupId The id of the tax type group.
      java.lang.Long getTransactionId()
      Getter for transactionId The unique ID number of this transaction.
      java.lang.Long getTransactionLineId()
      Getter for transactionLineId The unique ID number of the line within this transaction.
      java.lang.String getUnitOfBasis()
      Getter for unitOfBasis When calculating units, what basis of measurement did we use for calculating the units?
      void setAddressId​(java.lang.Long value)
      Setter for addressId The unique ID number of the address used for this tax detail.
      void setCountry​(java.lang.String value)
      Setter for country The two character ISO 3166 country code of the country where this tax detail is assigned.
      void setCountyFIPS​(java.lang.String value)
      Setter for countyFIPS For U.S.
      void setExemptAmount​(java.math.BigDecimal value)
      Setter for exemptAmount The amount of this line that was considered exempt in this tax detail.
      void setExemptReasonId​(java.lang.Integer value)
      Setter for exemptReasonId The unique ID number of the exemption reason for this tax detail.
      void setExemptUnits​(java.math.BigDecimal value)
      Setter for exemptUnits Number of units in this line item that were calculated to be exempt according to this rate detail.
      void setId​(java.lang.Long value)
      Setter for id The unique ID number of this tax detail.
      void setInState​(java.lang.Boolean value)
      Setter for inState True if this detail element represented an in-state transaction.
      void setIsFee​(java.lang.Boolean value)
      Setter for isFee The Taxes/Fee component.
      void setIsNonPassThru​(java.lang.Boolean value)
      Setter for isNonPassThru True if this value is a non-passthrough tax.
      void setJurisCode​(java.lang.String value)
      Setter for jurisCode The code of the jurisdiction to which this tax detail applies.
      void setJurisdictionId​(java.lang.Integer value)
      Setter for jurisdictionId The unique ID number of the jurisdiction to which this tax detail applies.
      void setJurisdictionType​(JurisdictionType value)
      Setter for jurisdictionType The type of the jurisdiction in which this tax detail applies.
      void setJurisName​(java.lang.String value)
      Setter for jurisName The name of the jurisdiction to which this tax detail applies.
      void setJurisType​(JurisTypeId value)
      Setter for jurisType DEPRECATED - Date: 12/20/2017, Version: 18.1, Message: Use jurisdictionTypeId instead.
      void setLiabilityType​(LiabilityType value)
      Setter for liabilityType LiabilityType identifies the party liable to file the tax.
      void setNonTaxableAmount​(java.math.BigDecimal value)
      Setter for nonTaxableAmount The amount of this line item that was considered nontaxable in this tax detail.
      void setNonTaxableRuleId​(java.lang.Integer value)
      Setter for nonTaxableRuleId The rule according to which portion of this detail was considered nontaxable.
      void setNonTaxableType​(TaxRuleTypeId value)
      Setter for nonTaxableType The type of nontaxability that was applied to this tax detail.
      void setNonTaxableUnits​(java.math.BigDecimal value)
      Setter for nonTaxableUnits Number of units in this line item that were calculated to be nontaxable according to this rate detail.
      void setRate​(java.math.BigDecimal value)
      Setter for rate The rate at which this tax detail was calculated.
      void setRateRuleId​(java.lang.Integer value)
      Setter for rateRuleId The unique ID number of the rule according to which this tax detail was calculated.
      void setRateSourceId​(java.lang.Integer value)
      Setter for rateSourceId The unique ID number of the source of the rate according to which this tax detail was calculated.
      void setRateType​(RateType value)
      Setter for rateType DEPRECATED - Date: 12/20/2017, Version: 18.1, Message: Please use rateTypeCode instead.
      void setRateTypeCode​(java.lang.String value)
      Setter for rateTypeCode Indicates the code of the rate type that was used to calculate this tax detail.
      void setRegion​(java.lang.String value)
      Setter for region The two-or-three character ISO region code for the region where this tax detail is assigned.
      void setReportingExemptUnits​(java.math.BigDecimal value)
      Setter for reportingExemptUnits Number of units in this line item that were calculated to be exempt according to this rate detail in the reporting currency.
      void setReportingNonTaxableUnits​(java.math.BigDecimal value)
      Setter for reportingNonTaxableUnits Number of units in this line item that were calculated to be nontaxable according to this rate detail in the reporting currency.
      void setReportingTax​(java.math.BigDecimal value)
      Setter for reportingTax The amount of tax for this tax detail in the reporting currency.
      void setReportingTaxableUnits​(java.math.BigDecimal value)
      Setter for reportingTaxableUnits Number of units in this line item that were calculated to be taxable according to this rate detail in the reporting currency.
      void setReportingTaxCalculated​(java.math.BigDecimal value)
      Setter for reportingTaxCalculated The amount of tax that AvaTax calculated in the reporting currency.
      void setSerCode​(java.lang.String value)
      Setter for serCode For Streamlined Sales Tax customers, the SST Electronic Return code under which this tax detail should be applied.
      void setSignatureCode​(java.lang.String value)
      Setter for signatureCode The Avalara-specified signature code of the jurisdiction to which this tax detail applies.
      void setSourcing​(Sourcing value)
      Setter for sourcing Indicates whether this tax detail applies to the origin or destination of the transaction.
      void setStateAssignedNo​(java.lang.String value)
      Setter for stateAssignedNo The state assigned number of the jurisdiction to which this tax detail applies.
      void setStateFIPS​(java.lang.String value)
      Setter for stateFIPS For U.S.
      void setTax​(java.math.BigDecimal value)
      Setter for tax The amount of tax for this tax detail.
      void setTaxableAmount​(java.math.BigDecimal value)
      Setter for taxableAmount The taxable amount of this tax detail.
      void setTaxableUnits​(java.math.BigDecimal value)
      Setter for taxableUnits Number of units in this line item that were calculated to be taxable according to this rate detail.
      void setTaxAuthorityTypeId​(java.lang.Integer value)
      Setter for taxAuthorityTypeId The type of the tax authority to which this tax will be remitted.
      void setTaxCalculated​(java.math.BigDecimal value)
      Setter for taxCalculated The amount of tax that AvaTax calculated.
      void setTaxName​(java.lang.String value)
      Setter for taxName The name of the tax against which this tax amount was calculated.
      void setTaxOverride​(java.math.BigDecimal value)
      Setter for taxOverride The amount of tax override that was specified for this tax line.
      void setTaxRegionId​(java.lang.Integer value)
      Setter for taxRegionId The unique ID number of the tax region.
      void setTaxSubTypeId​(java.lang.String value)
      Setter for taxSubTypeId The id of the tax subtype.
      void setTaxType​(java.lang.String value)
      Setter for taxType The type of tax that was calculated.
      void setTaxTypeGroupId​(java.lang.String value)
      Setter for taxTypeGroupId The id of the tax type group.
      void setTransactionId​(java.lang.Long value)
      Setter for transactionId The unique ID number of this transaction.
      void setTransactionLineId​(java.lang.Long value)
      Setter for transactionLineId The unique ID number of the line within this transaction.
      void setUnitOfBasis​(java.lang.String value)
      Setter for unitOfBasis When calculating units, what basis of measurement did we use for calculating the units?
      java.lang.String toString()
      Returns a JSON string representation of TransactionLineDetailModel
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TransactionLineDetailModel

        public TransactionLineDetailModel()
    • Method Detail

      • getId

        public java.lang.Long getId()
        Getter for id The unique ID number of this tax detail.
      • setId

        public void setId​(java.lang.Long value)
        Setter for id The unique ID number of this tax detail.
      • getTransactionLineId

        public java.lang.Long getTransactionLineId()
        Getter for transactionLineId The unique ID number of the line within this transaction.
      • setTransactionLineId

        public void setTransactionLineId​(java.lang.Long value)
        Setter for transactionLineId The unique ID number of the line within this transaction.
      • getTransactionId

        public java.lang.Long getTransactionId()
        Getter for transactionId The unique ID number of this transaction.
      • setTransactionId

        public void setTransactionId​(java.lang.Long value)
        Setter for transactionId The unique ID number of this transaction.
      • getAddressId

        public java.lang.Long getAddressId()
        Getter for addressId The unique ID number of the address used for this tax detail.
      • setAddressId

        public void setAddressId​(java.lang.Long value)
        Setter for addressId The unique ID number of the address used for this tax detail.
      • getCountry

        public java.lang.String getCountry()
        Getter for country The two character ISO 3166 country code of the country where this tax detail is assigned.
      • setCountry

        public void setCountry​(java.lang.String value)
        Setter for country The two character ISO 3166 country code of the country where this tax detail is assigned.
      • getRegion

        public java.lang.String getRegion()
        Getter for region The two-or-three character ISO region code for the region where this tax detail is assigned.
      • setRegion

        public void setRegion​(java.lang.String value)
        Setter for region The two-or-three character ISO region code for the region where this tax detail is assigned.
      • getCountyFIPS

        public java.lang.String getCountyFIPS()
        Getter for countyFIPS For U.S. transactions, the Federal Information Processing Standard (FIPS) code for the county where this tax detail is assigned.
      • setCountyFIPS

        public void setCountyFIPS​(java.lang.String value)
        Setter for countyFIPS For U.S. transactions, the Federal Information Processing Standard (FIPS) code for the county where this tax detail is assigned.
      • getStateFIPS

        public java.lang.String getStateFIPS()
        Getter for stateFIPS For U.S. transactions, the Federal Information Processing Standard (FIPS) code for the state where this tax detail is assigned.
      • setStateFIPS

        public void setStateFIPS​(java.lang.String value)
        Setter for stateFIPS For U.S. transactions, the Federal Information Processing Standard (FIPS) code for the state where this tax detail is assigned.
      • getExemptAmount

        public java.math.BigDecimal getExemptAmount()
        Getter for exemptAmount The amount of this line that was considered exempt in this tax detail.
      • setExemptAmount

        public void setExemptAmount​(java.math.BigDecimal value)
        Setter for exemptAmount The amount of this line that was considered exempt in this tax detail.
      • getExemptReasonId

        public java.lang.Integer getExemptReasonId()
        Getter for exemptReasonId The unique ID number of the exemption reason for this tax detail.
      • setExemptReasonId

        public void setExemptReasonId​(java.lang.Integer value)
        Setter for exemptReasonId The unique ID number of the exemption reason for this tax detail.
      • getInState

        public java.lang.Boolean getInState()
        Getter for inState True if this detail element represented an in-state transaction.
      • setInState

        public void setInState​(java.lang.Boolean value)
        Setter for inState True if this detail element represented an in-state transaction.
      • getJurisCode

        public java.lang.String getJurisCode()
        Getter for jurisCode The code of the jurisdiction to which this tax detail applies.
      • setJurisCode

        public void setJurisCode​(java.lang.String value)
        Setter for jurisCode The code of the jurisdiction to which this tax detail applies.
      • getJurisName

        public java.lang.String getJurisName()
        Getter for jurisName The name of the jurisdiction to which this tax detail applies.
      • setJurisName

        public void setJurisName​(java.lang.String value)
        Setter for jurisName The name of the jurisdiction to which this tax detail applies.
      • getJurisdictionId

        public java.lang.Integer getJurisdictionId()
        Getter for jurisdictionId The unique ID number of the jurisdiction to which this tax detail applies.
      • setJurisdictionId

        public void setJurisdictionId​(java.lang.Integer value)
        Setter for jurisdictionId The unique ID number of the jurisdiction to which this tax detail applies.
      • getSignatureCode

        public java.lang.String getSignatureCode()
        Getter for signatureCode The Avalara-specified signature code of the jurisdiction to which this tax detail applies.
      • setSignatureCode

        public void setSignatureCode​(java.lang.String value)
        Setter for signatureCode The Avalara-specified signature code of the jurisdiction to which this tax detail applies.
      • getStateAssignedNo

        public java.lang.String getStateAssignedNo()
        Getter for stateAssignedNo The state assigned number of the jurisdiction to which this tax detail applies.
      • setStateAssignedNo

        public void setStateAssignedNo​(java.lang.String value)
        Setter for stateAssignedNo The state assigned number of the jurisdiction to which this tax detail applies.
      • getJurisType

        public JurisTypeId getJurisType()
        Getter for jurisType DEPRECATED - Date: 12/20/2017, Version: 18.1, Message: Use jurisdictionTypeId instead. The type of the jurisdiction to which this tax detail applies.
      • setJurisType

        public void setJurisType​(JurisTypeId value)
        Setter for jurisType DEPRECATED - Date: 12/20/2017, Version: 18.1, Message: Use jurisdictionTypeId instead. The type of the jurisdiction to which this tax detail applies.
      • getJurisdictionType

        public JurisdictionType getJurisdictionType()
        Getter for jurisdictionType The type of the jurisdiction in which this tax detail applies.
      • setJurisdictionType

        public void setJurisdictionType​(JurisdictionType value)
        Setter for jurisdictionType The type of the jurisdiction in which this tax detail applies.
      • getNonTaxableAmount

        public java.math.BigDecimal getNonTaxableAmount()
        Getter for nonTaxableAmount The amount of this line item that was considered nontaxable in this tax detail.
      • setNonTaxableAmount

        public void setNonTaxableAmount​(java.math.BigDecimal value)
        Setter for nonTaxableAmount The amount of this line item that was considered nontaxable in this tax detail.
      • getNonTaxableRuleId

        public java.lang.Integer getNonTaxableRuleId()
        Getter for nonTaxableRuleId The rule according to which portion of this detail was considered nontaxable.
      • setNonTaxableRuleId

        public void setNonTaxableRuleId​(java.lang.Integer value)
        Setter for nonTaxableRuleId The rule according to which portion of this detail was considered nontaxable.
      • getNonTaxableType

        public TaxRuleTypeId getNonTaxableType()
        Getter for nonTaxableType The type of nontaxability that was applied to this tax detail.
      • setNonTaxableType

        public void setNonTaxableType​(TaxRuleTypeId value)
        Setter for nonTaxableType The type of nontaxability that was applied to this tax detail.
      • getRate

        public java.math.BigDecimal getRate()
        Getter for rate The rate at which this tax detail was calculated.
      • setRate

        public void setRate​(java.math.BigDecimal value)
        Setter for rate The rate at which this tax detail was calculated.
      • getRateRuleId

        public java.lang.Integer getRateRuleId()
        Getter for rateRuleId The unique ID number of the rule according to which this tax detail was calculated.
      • setRateRuleId

        public void setRateRuleId​(java.lang.Integer value)
        Setter for rateRuleId The unique ID number of the rule according to which this tax detail was calculated.
      • getRateSourceId

        public java.lang.Integer getRateSourceId()
        Getter for rateSourceId The unique ID number of the source of the rate according to which this tax detail was calculated.
      • setRateSourceId

        public void setRateSourceId​(java.lang.Integer value)
        Setter for rateSourceId The unique ID number of the source of the rate according to which this tax detail was calculated.
      • getSerCode

        public java.lang.String getSerCode()
        Getter for serCode For Streamlined Sales Tax customers, the SST Electronic Return code under which this tax detail should be applied.
      • setSerCode

        public void setSerCode​(java.lang.String value)
        Setter for serCode For Streamlined Sales Tax customers, the SST Electronic Return code under which this tax detail should be applied.
      • getSourcing

        public Sourcing getSourcing()
        Getter for sourcing Indicates whether this tax detail applies to the origin or destination of the transaction.
      • setSourcing

        public void setSourcing​(Sourcing value)
        Setter for sourcing Indicates whether this tax detail applies to the origin or destination of the transaction.
      • getTax

        public java.math.BigDecimal getTax()
        Getter for tax The amount of tax for this tax detail.
      • setTax

        public void setTax​(java.math.BigDecimal value)
        Setter for tax The amount of tax for this tax detail.
      • getTaxableAmount

        public java.math.BigDecimal getTaxableAmount()
        Getter for taxableAmount The taxable amount of this tax detail.
      • setTaxableAmount

        public void setTaxableAmount​(java.math.BigDecimal value)
        Setter for taxableAmount The taxable amount of this tax detail.
      • getTaxType

        public java.lang.String getTaxType()
        Getter for taxType The type of tax that was calculated. Depends on the company's nexus settings as well as the jurisdiction's tax laws.
      • setTaxType

        public void setTaxType​(java.lang.String value)
        Setter for taxType The type of tax that was calculated. Depends on the company's nexus settings as well as the jurisdiction's tax laws.
      • getTaxSubTypeId

        public java.lang.String getTaxSubTypeId()
        Getter for taxSubTypeId The id of the tax subtype.
      • setTaxSubTypeId

        public void setTaxSubTypeId​(java.lang.String value)
        Setter for taxSubTypeId The id of the tax subtype.
      • getTaxTypeGroupId

        public java.lang.String getTaxTypeGroupId()
        Getter for taxTypeGroupId The id of the tax type group.
      • setTaxTypeGroupId

        public void setTaxTypeGroupId​(java.lang.String value)
        Setter for taxTypeGroupId The id of the tax type group.
      • getTaxName

        public java.lang.String getTaxName()
        Getter for taxName The name of the tax against which this tax amount was calculated.
      • setTaxName

        public void setTaxName​(java.lang.String value)
        Setter for taxName The name of the tax against which this tax amount was calculated.
      • getTaxAuthorityTypeId

        public java.lang.Integer getTaxAuthorityTypeId()
        Getter for taxAuthorityTypeId The type of the tax authority to which this tax will be remitted.
      • setTaxAuthorityTypeId

        public void setTaxAuthorityTypeId​(java.lang.Integer value)
        Setter for taxAuthorityTypeId The type of the tax authority to which this tax will be remitted.
      • getTaxRegionId

        public java.lang.Integer getTaxRegionId()
        Getter for taxRegionId The unique ID number of the tax region.
      • setTaxRegionId

        public void setTaxRegionId​(java.lang.Integer value)
        Setter for taxRegionId The unique ID number of the tax region.
      • getTaxCalculated

        public java.math.BigDecimal getTaxCalculated()
        Getter for taxCalculated The amount of tax that AvaTax calculated. If an override for tax amount is used, there may be a difference between the tax field which applies your override, and the this amount that is calculated without override.
      • setTaxCalculated

        public void setTaxCalculated​(java.math.BigDecimal value)
        Setter for taxCalculated The amount of tax that AvaTax calculated. If an override for tax amount is used, there may be a difference between the tax field which applies your override, and the this amount that is calculated without override.
      • getTaxOverride

        public java.math.BigDecimal getTaxOverride()
        Getter for taxOverride The amount of tax override that was specified for this tax line.
      • setTaxOverride

        public void setTaxOverride​(java.math.BigDecimal value)
        Setter for taxOverride The amount of tax override that was specified for this tax line.
      • getRateType

        public RateType getRateType()
        Getter for rateType DEPRECATED - Date: 12/20/2017, Version: 18.1, Message: Please use rateTypeCode instead. The rate type for this tax detail.
      • setRateType

        public void setRateType​(RateType value)
        Setter for rateType DEPRECATED - Date: 12/20/2017, Version: 18.1, Message: Please use rateTypeCode instead. The rate type for this tax detail.
      • getRateTypeCode

        public java.lang.String getRateTypeCode()
        Getter for rateTypeCode Indicates the code of the rate type that was used to calculate this tax detail. Use [ListRateTypesByCountry](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Definitions/ListRateTypesByCountry/) API for a full list of rate type codes.
      • setRateTypeCode

        public void setRateTypeCode​(java.lang.String value)
        Setter for rateTypeCode Indicates the code of the rate type that was used to calculate this tax detail. Use [ListRateTypesByCountry](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Definitions/ListRateTypesByCountry/) API for a full list of rate type codes.
      • getTaxableUnits

        public java.math.BigDecimal getTaxableUnits()
        Getter for taxableUnits Number of units in this line item that were calculated to be taxable according to this rate detail.
      • setTaxableUnits

        public void setTaxableUnits​(java.math.BigDecimal value)
        Setter for taxableUnits Number of units in this line item that were calculated to be taxable according to this rate detail.
      • getNonTaxableUnits

        public java.math.BigDecimal getNonTaxableUnits()
        Getter for nonTaxableUnits Number of units in this line item that were calculated to be nontaxable according to this rate detail.
      • setNonTaxableUnits

        public void setNonTaxableUnits​(java.math.BigDecimal value)
        Setter for nonTaxableUnits Number of units in this line item that were calculated to be nontaxable according to this rate detail.
      • getExemptUnits

        public java.math.BigDecimal getExemptUnits()
        Getter for exemptUnits Number of units in this line item that were calculated to be exempt according to this rate detail.
      • setExemptUnits

        public void setExemptUnits​(java.math.BigDecimal value)
        Setter for exemptUnits Number of units in this line item that were calculated to be exempt according to this rate detail.
      • getUnitOfBasis

        public java.lang.String getUnitOfBasis()
        Getter for unitOfBasis When calculating units, what basis of measurement did we use for calculating the units?
      • setUnitOfBasis

        public void setUnitOfBasis​(java.lang.String value)
        Setter for unitOfBasis When calculating units, what basis of measurement did we use for calculating the units?
      • getIsNonPassThru

        public java.lang.Boolean getIsNonPassThru()
        Getter for isNonPassThru True if this value is a non-passthrough tax. A non-passthrough tax is a tax that may not be charged to a customer; it must be paid directly by the company.
      • setIsNonPassThru

        public void setIsNonPassThru​(java.lang.Boolean value)
        Setter for isNonPassThru True if this value is a non-passthrough tax. A non-passthrough tax is a tax that may not be charged to a customer; it must be paid directly by the company.
      • getIsFee

        public java.lang.Boolean getIsFee()
        Getter for isFee The Taxes/Fee component. True if the fee is applied.
      • setIsFee

        public void setIsFee​(java.lang.Boolean value)
        Setter for isFee The Taxes/Fee component. True if the fee is applied.
      • getReportingTaxableUnits

        public java.math.BigDecimal getReportingTaxableUnits()
        Getter for reportingTaxableUnits Number of units in this line item that were calculated to be taxable according to this rate detail in the reporting currency.
      • setReportingTaxableUnits

        public void setReportingTaxableUnits​(java.math.BigDecimal value)
        Setter for reportingTaxableUnits Number of units in this line item that were calculated to be taxable according to this rate detail in the reporting currency.
      • getReportingNonTaxableUnits

        public java.math.BigDecimal getReportingNonTaxableUnits()
        Getter for reportingNonTaxableUnits Number of units in this line item that were calculated to be nontaxable according to this rate detail in the reporting currency.
      • setReportingNonTaxableUnits

        public void setReportingNonTaxableUnits​(java.math.BigDecimal value)
        Setter for reportingNonTaxableUnits Number of units in this line item that were calculated to be nontaxable according to this rate detail in the reporting currency.
      • getReportingExemptUnits

        public java.math.BigDecimal getReportingExemptUnits()
        Getter for reportingExemptUnits Number of units in this line item that were calculated to be exempt according to this rate detail in the reporting currency.
      • setReportingExemptUnits

        public void setReportingExemptUnits​(java.math.BigDecimal value)
        Setter for reportingExemptUnits Number of units in this line item that were calculated to be exempt according to this rate detail in the reporting currency.
      • getReportingTax

        public java.math.BigDecimal getReportingTax()
        Getter for reportingTax The amount of tax for this tax detail in the reporting currency.
      • setReportingTax

        public void setReportingTax​(java.math.BigDecimal value)
        Setter for reportingTax The amount of tax for this tax detail in the reporting currency.
      • getReportingTaxCalculated

        public java.math.BigDecimal getReportingTaxCalculated()
        Getter for reportingTaxCalculated The amount of tax that AvaTax calculated in the reporting currency. If an override for tax amount is used, there may be a difference between the tax field which applies your override, and the this amount that is calculated without override.
      • setReportingTaxCalculated

        public void setReportingTaxCalculated​(java.math.BigDecimal value)
        Setter for reportingTaxCalculated The amount of tax that AvaTax calculated in the reporting currency. If an override for tax amount is used, there may be a difference between the tax field which applies your override, and the this amount that is calculated without override.
      • getLiabilityType

        public LiabilityType getLiabilityType()
        Getter for liabilityType LiabilityType identifies the party liable to file the tax. This field is used to filter taxes from reports and tax filings as appropriate.
      • setLiabilityType

        public void setLiabilityType​(LiabilityType value)
        Setter for liabilityType LiabilityType identifies the party liable to file the tax. This field is used to filter taxes from reports and tax filings as appropriate.
      • toString

        public java.lang.String toString()
        Returns a JSON string representation of TransactionLineDetailModel
        Overrides:
        toString in class java.lang.Object