|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.avalara.avatax.services.tax.TaxDetail
public class TaxDetail
Holds calculated tax information by jurisdiction.
ArrayOfTaxDetail
,
TaxLine
,
GetTaxResult
,
Serialized FormConstructor Summary | |
---|---|
TaxDetail()
Initializes a new instance of the class. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the specified Object is equal to the current Object. |
java.math.BigDecimal |
getBase()
Deprecated. See getTaxable() . |
java.lang.String |
getCountry()
Gets the country value for this TaxDetail. |
static org.apache.axis.encoding.Deserializer |
getDeserializer(java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType)
Get Axis Custom Deserializer; this method is used internally by the adapter and not intended to be used by external implementation code. |
java.math.BigDecimal |
getExemption()
The exempt amount. |
java.lang.String |
getJurisCode()
Jurisdiction Code for the taxing jurisdiction. |
java.lang.String |
getJurisName()
Gets the jurisdiction name for this TaxDetail. |
JurisdictionType |
getJurisType()
Jurisdiction Type. |
java.math.BigDecimal |
getNonTaxable()
The non-taxable amount. |
java.math.BigDecimal |
getRate()
Gets the rate value for this TaxDetail. |
java.lang.String |
getRateType()
Gets the rate type value for this TaxDetail. |
java.lang.String |
getRegion()
Gets the region value for this TaxDetail. |
static org.apache.axis.encoding.Serializer |
getSerializer(java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType)
Get Axis Custom Serializer; this method is used internally by the adapter and not intended to be used by external implementation code. |
java.math.BigDecimal |
getTax()
The tax amount, i.e. |
java.math.BigDecimal |
getTaxable()
The taxable amount. |
int |
getTaxAuthorityType()
Gets the taxAuthorityType value for this TaxDetail. |
java.math.BigDecimal |
getTaxCalculated()
Gets the taxCalculated value for this TaxDetail. |
java.lang.String |
getTaxGroup()
Gets the taxGroup value for this TaxDetail. |
java.lang.String |
getTaxName()
Gets the taxName value. |
TaxType |
getTaxType()
Tax Type TypeDescription SSales Tax UUse Tax |
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return Axis type metadata object; this method is used internally by the adapter and not intended to be used by external implementation code. |
int |
hashCode()
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
void |
setBase(java.math.BigDecimal base)
Deprecated. See setTaxable(java.math.BigDecimal) . |
void |
setCountry(java.lang.String country)
Sets the country value for this TaxDetail. |
void |
setExemption(java.math.BigDecimal exemption)
The exempt amount for this TaxDetail. |
void |
setJurisCode(java.lang.String jurisCode)
Jurisdiction Code for the taxing jurisdiction. |
void |
setJurisName(java.lang.String jurisName)
Sets the jurisdiction name. |
void |
setJurisType(JurisdictionType jurisType)
Jurisdiction Type. |
void |
setNonTaxable(java.math.BigDecimal nonTaxable)
The non-taxable amount. |
void |
setRate(java.math.BigDecimal rate)
The tax rate, i.e. |
void |
setRateType(java.lang.String rateType)
The tax rate type |
void |
setRegion(java.lang.String region)
Sets the region value for this TaxDetail. |
void |
setTax(java.math.BigDecimal tax)
The tax amount, i.e. |
void |
setTaxable(java.math.BigDecimal taxable)
The taxable amount. |
void |
setTaxAuthorityType(int taxAuthorityType)
Sets the taxAuthorityType value for this TaxDetail. |
void |
setTaxCalculated(java.math.BigDecimal taxCalculated)
Sets the taxCalculated value for this TaxDetail. |
void |
setTaxGroup(java.lang.String taxGroup)
Sets the taxGroup value for this TaxDetail. |
void |
setTaxName(java.lang.String taxName)
Sets the taxName value. |
void |
setTaxType(TaxType taxType)
Tax Type TypeDescription SSales Tax UUse Tax |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TaxDetail()
Method Detail |
---|
public java.lang.String getCountry()
public void setCountry(java.lang.String country)
country
- public java.lang.String getRegion()
public void setRegion(java.lang.String region)
region
- public JurisdictionType getJurisType()
public void setJurisType(JurisdictionType jurisType)
jurisType
- public java.lang.String getJurisCode()
public void setJurisCode(java.lang.String jurisCode)
jurisCode
- public TaxType getTaxType()
Type | Description |
---|---|
S | Sales Tax |
U | Use Tax |
public void setTaxType(TaxType taxType)
Type | Description |
---|---|
S | Sales Tax |
U | Use Tax |
taxType
- public java.math.BigDecimal getBase()
getTaxable()
.
public void setBase(java.math.BigDecimal base)
setTaxable(java.math.BigDecimal)
.
base
- public java.math.BigDecimal getTaxable()
public void setTaxable(java.math.BigDecimal taxable)
taxable
- public java.math.BigDecimal getRate()
public void setRate(java.math.BigDecimal rate)
rate
- public java.lang.String getRateType()
public void setRateType(java.lang.String rateType)
rateType
- public java.math.BigDecimal getTax()
getBase()
* getRate()
)
public void setTax(java.math.BigDecimal tax)
getBase()
* getRate()
)
tax
- public java.math.BigDecimal getTaxCalculated()
public void setTaxCalculated(java.math.BigDecimal taxCalculated)
taxCalculated
- public java.math.BigDecimal getNonTaxable()
public void setNonTaxable(java.math.BigDecimal nonTaxable)
nonTaxable
- public java.math.BigDecimal getExemption()
public void setExemption(java.math.BigDecimal exemption)
exemption
- public java.lang.String getJurisName()
public void setJurisName(java.lang.String jurisName)
jurisName
- public java.lang.String getTaxName()
It further defines tax and jurisdiction..
public void setTaxName(java.lang.String taxName)
It further defines tax and jurisdiction.
taxName
- public int getTaxAuthorityType()
public void setTaxAuthorityType(int taxAuthorityType)
taxAuthorityType
- public void setTaxGroup(java.lang.String taxGroup)
taxGroup
- public java.lang.String getTaxGroup()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
-
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
mechType
- _javaType
- _xmlType
-
public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
mechType
- _javaType
- _xmlType
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |