Class TransactionSummary
java.lang.Object
net.avalara.avatax.rest.client.models.TransactionSummary
Summary information about an overall transaction.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for country Two character ISO-3166 country code.Getter for exemption The amount of the transaction that was exempt.Getter for jurisCode Jurisdiction Code for the taxing jurisdictionGetter for jurisName The name of the jurisdiction that collects this tax.Getter for jurisType The type of jurisdiction that collects this tax.Getter for nonTaxable The amount of the transaction that was non-taxable.getRate()Getter for rate Tax Rate - The rate of taxation, as a fraction of the amount.Getter for rateType DEPRECATED - Date: 3/1/2018, Version: 18.3, Message: Please use rateTypeCode instead.Getter for rateTypeCode Indicates the code of the rate type.Getter for region Two or three character ISO region, state or province code, if applicable.Getter for stateAssignedNo The state assigned number of the jurisdiction that collects this tax.getTax()Getter for tax Tax amount - The calculated tax (Base * Rate).Getter for taxable Tax Base - The adjusted taxable amount.Getter for taxAuthorityType The unique ID of the Tax Authority Type that collects this tax.Getter for taxCalculated The amount of tax that AvaTax calculated for the transaction.Getter for taxGroup Group code when special grouping is enabled.Getter for taxName The name of the tax.Getter for taxSubType The tax subtype of this tax.Getter for taxType The tax type of this tax.voidsetCountry(String value) Setter for country Two character ISO-3166 country code.voidsetExemption(BigDecimal value) Setter for exemption The amount of the transaction that was exempt.voidsetJurisCode(String value) Setter for jurisCode Jurisdiction Code for the taxing jurisdictionvoidsetJurisName(String value) Setter for jurisName The name of the jurisdiction that collects this tax.voidsetJurisType(JurisdictionType value) Setter for jurisType The type of jurisdiction that collects this tax.voidsetNonTaxable(BigDecimal value) Setter for nonTaxable The amount of the transaction that was non-taxable.voidsetRate(BigDecimal value) Setter for rate Tax Rate - The rate of taxation, as a fraction of the amount.voidsetRateType(RateType value) Setter for rateType DEPRECATED - Date: 3/1/2018, Version: 18.3, Message: Please use rateTypeCode instead.voidsetRateTypeCode(String value) Setter for rateTypeCode Indicates the code of the rate type.voidSetter for region Two or three character ISO region, state or province code, if applicable.voidsetStateAssignedNo(String value) Setter for stateAssignedNo The state assigned number of the jurisdiction that collects this tax.voidsetTax(BigDecimal value) Setter for tax Tax amount - The calculated tax (Base * Rate).voidsetTaxable(BigDecimal value) Setter for taxable Tax Base - The adjusted taxable amount.voidsetTaxAuthorityType(Integer value) Setter for taxAuthorityType The unique ID of the Tax Authority Type that collects this tax.voidsetTaxCalculated(BigDecimal value) Setter for taxCalculated The amount of tax that AvaTax calculated for the transaction.voidsetTaxGroup(String value) Setter for taxGroup Group code when special grouping is enabled.voidsetTaxName(String value) Setter for taxName The name of the tax.voidsetTaxSubType(String value) Setter for taxSubType The tax subtype of this tax.voidsetTaxType(String value) Setter for taxType The tax type of this tax.toString()Returns a JSON string representation of TransactionSummary
-
Constructor Details
-
TransactionSummary
public TransactionSummary()
-
-
Method Details
-
getCountry
Getter for country Two character ISO-3166 country code. -
setCountry
Setter for country Two character ISO-3166 country code. -
getRegion
Getter for region Two or three character ISO region, state or province code, if applicable. -
setRegion
Setter for region Two or three character ISO region, state or province code, if applicable. -
getJurisType
Getter for jurisType The type of jurisdiction that collects this tax. -
setJurisType
Setter for jurisType The type of jurisdiction that collects this tax. -
getJurisCode
Getter for jurisCode Jurisdiction Code for the taxing jurisdiction -
setJurisCode
Setter for jurisCode Jurisdiction Code for the taxing jurisdiction -
getJurisName
Getter for jurisName The name of the jurisdiction that collects this tax. -
setJurisName
Setter for jurisName The name of the jurisdiction that collects this tax. -
getTaxAuthorityType
Getter for taxAuthorityType The unique ID of the Tax Authority Type that collects this tax. -
setTaxAuthorityType
Setter for taxAuthorityType The unique ID of the Tax Authority Type that collects this tax. -
getStateAssignedNo
Getter for stateAssignedNo The state assigned number of the jurisdiction that collects this tax. -
setStateAssignedNo
Setter for stateAssignedNo The state assigned number of the jurisdiction that collects this tax. -
getTaxType
Getter for taxType The tax type of this tax. -
setTaxType
Setter for taxType The tax type of this tax. -
getTaxSubType
Getter for taxSubType The tax subtype of this tax. -
setTaxSubType
Setter for taxSubType The tax subtype of this tax. -
getTaxName
Getter for taxName The name of the tax. -
setTaxName
Setter for taxName The name of the tax. -
getTaxGroup
Getter for taxGroup Group code when special grouping is enabled. -
setTaxGroup
Setter for taxGroup Group code when special grouping is enabled. -
getRateType
Getter for rateType DEPRECATED - Date: 3/1/2018, Version: 18.3, Message: Please use rateTypeCode instead. Indicates the tax rate type. -
setRateType
Setter for rateType DEPRECATED - Date: 3/1/2018, Version: 18.3, Message: Please use rateTypeCode instead. Indicates the tax rate type. -
getRateTypeCode
Getter for rateTypeCode Indicates the code of the rate type. Use [ListRateTypesByCountry](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Definitions/ListRateTypesByCountry/) API for a full list of rate type codes. -
setRateTypeCode
Setter for rateTypeCode Indicates the code of the rate type. Use [ListRateTypesByCountry](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Definitions/ListRateTypesByCountry/) API for a full list of rate type codes. -
getTaxable
Getter for taxable Tax Base - The adjusted taxable amount. -
setTaxable
Setter for taxable Tax Base - The adjusted taxable amount. -
getRate
Getter for rate Tax Rate - The rate of taxation, as a fraction of the amount. -
setRate
Setter for rate Tax Rate - The rate of taxation, as a fraction of the amount. -
getTax
Getter for tax Tax amount - The calculated tax (Base * Rate). -
setTax
Setter for tax Tax amount - The calculated tax (Base * Rate). -
getTaxCalculated
Getter for taxCalculated The amount of tax that AvaTax calculated for the transaction. If you used a `taxOverride` of type `taxAmount`, there may be a difference between the `tax` field which applies your override, and the `TaxCalculated` field which represents the amount of tax that AvaTax calculated for this transaction without override. You can use this for comparison. -
setTaxCalculated
Setter for taxCalculated The amount of tax that AvaTax calculated for the transaction. If you used a `taxOverride` of type `taxAmount`, there may be a difference between the `tax` field which applies your override, and the `TaxCalculated` field which represents the amount of tax that AvaTax calculated for this transaction without override. You can use this for comparison. -
getNonTaxable
Getter for nonTaxable The amount of the transaction that was non-taxable. -
setNonTaxable
Setter for nonTaxable The amount of the transaction that was non-taxable. -
getExemption
Getter for exemption The amount of the transaction that was exempt. -
setExemption
Setter for exemption The amount of the transaction that was exempt. -
toString
Returns a JSON string representation of TransactionSummary
-