|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.integrations.taxware.VeraZipCaller
public class VeraZipCaller
VeraZipCaller provides an higher level interface to TaxWare's zipcode verification software.
ZipRequest
,
ZipResultItem
,
ZipResult
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
protected static boolean |
m_bOpen
whether TaxWare's files are open or not |
protected static atg.integrations.taxware.VeraZipCaller.InputHeader |
m_inputHeader
Input header re-used for each request |
protected static java.lang.reflect.Method |
m_methodCalculateTax
method for calculating tax |
protected static java.lang.Object[] |
m_rgobjArgs
argument array |
protected static java.lang.StringBuffer |
m_strbufInput
StringBuffer re-used for each request |
Constructor Summary | |
---|---|
VeraZipCaller()
|
Method Summary | |
---|---|
static ZipResult |
calculate(ZipRequest request)
Verify a city/state/zipcode triplet when given a ZipRequest object. |
protected static atg.integrations.taxware.VeraZipCaller.OutputHeader |
calculateInternal(ZipRequest request,
java.lang.StringBuffer strbuf)
Does all the stuff for verifying a zip that needs to be synchronized. |
protected static atg.integrations.taxware.VeraZipCaller.OutputHeader |
callCalculate(java.lang.String stringRequest,
java.lang.StringBuffer strbuf)
Calls the verify zipcode function. |
protected static java.lang.StringBuffer |
createBuffer(int cRequests)
Create a string buffer already pre-filled to the appropriate size. |
protected static void |
createInputHeader()
|
protected static void |
createInputStringBuffer()
Create our static input string buffer |
static void |
main(java.lang.String[] rgArgs)
Perform some basic tests. |
static ZipResult |
QuickVerifyZip(java.lang.String strCity,
java.lang.String strState,
java.lang.String strZip,
boolean bDumpResults)
A wrapper used for testing. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
protected static java.lang.StringBuffer m_strbufInput
protected static atg.integrations.taxware.VeraZipCaller.InputHeader m_inputHeader
protected static boolean m_bOpen
protected static java.lang.reflect.Method m_methodCalculateTax
protected static java.lang.Object[] m_rgobjArgs
Constructor Detail |
---|
public VeraZipCaller()
Method Detail |
---|
protected static void createInputStringBuffer()
protected static void createInputHeader()
protected static java.lang.StringBuffer createBuffer(int cRequests)
protected static atg.integrations.taxware.VeraZipCaller.OutputHeader callCalculate(java.lang.String stringRequest, java.lang.StringBuffer strbuf) throws TaxwareMinorException, TaxwareCriticalException
TaxwareCriticalException
- Thrown if installation problem.
TaxwareMinorException
- Thrown if error returned from VeraZip.protected static atg.integrations.taxware.VeraZipCaller.OutputHeader calculateInternal(ZipRequest request, java.lang.StringBuffer strbuf) throws TaxwareMinorException, TaxwareCriticalException
TaxwareCriticalException
- Thrown if installation problem.
TaxwareMinorException
- Thrown if error returned from VeraZip.public static ZipResult calculate(ZipRequest request) throws TaxwareMinorException, TaxwareCriticalException
request
- a ZipRequest object
TaxwareCriticalException
- Thrown if installation problem.
TaxwareMinorException
- Thrown if error returned from VeraZip.public static final ZipResult QuickVerifyZip(java.lang.String strCity, java.lang.String strState, java.lang.String strZip, boolean bDumpResults)
public static void main(java.lang.String[] rgArgs)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |