|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object FieldSet atg.integrations.taxware.TaxResult
public class TaxResult
The TaxResult class represents the result of a request for tax information. It defines a few convenience functions for accessing commonly used properties, but allows the generic accessor functions for FieldSet to be used for other properties.
See the taxware documentation for a detailed description of what the various fields mean in practice.
Tax rate results are returned from taxware as strings with 6 decimal places, so one should divide by 1,000,000 to get the actual tax rate.
TaxRequest
,
SalesTaxCaller
,
FieldSet
,
OutputRecordDef
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
protected static RecordDef |
m_recordDef
Hold our record definition. |
Method Summary | |
---|---|
protected void |
createRecordDef()
Create out record definition |
double |
getCityTaxAmount()
Return the city tax amount as an int. |
double |
getCityTaxBasisAmount()
Return the city tax basis amount as an int. |
double |
getCityTaxRate()
Return the city tax rate as an int.. |
double |
getCountryTaxAmount()
Return the country tax amount. |
double |
getCountryTaxBasisAmount()
Return the country tax basis amount. |
double |
getCountryTaxRate()
Return the country tax rate. |
double |
getCountyTaxAmount()
Return the county tax amount. |
double |
getCountyTaxBasisAmount()
Return the county tax basis amount. |
double |
getCountyTaxRate()
Return the county tax rate. |
long |
getGeneralCompletionCode()
Return the general completion code. |
java.lang.String |
getGeneralCompletionCodeDescription()
Return the general completion code description. |
double |
getProvinceTaxAmount()
Return the province(state) tax amount. |
double |
getProvinceTaxBasisAmount()
Return the province(state) tax basis amount. |
double |
getProvinceTaxRate()
Return the province(state) tax rate. |
double |
getSecCityTaxAmount()
Return the secondary city tax amount as an int. |
double |
getSecCityTaxBasisAmount()
Return the secondary city tax basis amount as an int. |
double |
getSecCityTaxRate()
Return the secondary city tax rate as an int. |
double |
getSecCountyTaxAmount()
Return the secondary county tax amount. |
double |
getSecCountyTaxBasisAmount()
Return the secondary county tax basis amount. |
double |
getSecCountyTaxRate()
Return the secondary county tax rate. |
double |
getSecProvinceTaxAmount()
Return the secondary province(state) tax amount. |
double |
getSecProvinceTaxBasisAmount()
Return the secondary province(state) tax basis amount. |
double |
getSecProvinceTaxRate()
Return the secondary province(state) tax rate. |
double |
getTerritoryTaxAmount()
Return the territory tax amount. |
double |
getTerritoryTaxBasisAmount()
Return the territory tax basis amount. |
double |
getTerritoryTaxRate()
Return the territory tax rate. |
static void |
main(java.lang.String[] rgArgs)
Dump out field definitions |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
protected static RecordDef m_recordDef
Method Detail |
---|
protected void createRecordDef()
public static void main(java.lang.String[] rgArgs)
public double getCountryTaxRate()
public double getTerritoryTaxRate()
public double getProvinceTaxRate()
public double getCountyTaxRate()
public double getCityTaxRate()
public double getSecProvinceTaxRate()
public double getSecCountyTaxRate()
public double getSecCityTaxRate()
public double getCountryTaxAmount()
public double getTerritoryTaxAmount()
public double getProvinceTaxAmount()
public double getCountyTaxAmount()
public double getCityTaxAmount()
public double getSecProvinceTaxAmount()
public double getSecCountyTaxAmount()
public double getSecCityTaxAmount()
public double getCountryTaxBasisAmount()
public double getTerritoryTaxBasisAmount()
public double getProvinceTaxBasisAmount()
public double getCountyTaxBasisAmount()
public double getCityTaxBasisAmount()
public double getSecProvinceTaxBasisAmount()
public double getSecCountyTaxBasisAmount()
public double getSecCityTaxBasisAmount()
public long getGeneralCompletionCode()
public java.lang.String getGeneralCompletionCodeDescription()
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |