public class TaxWareVerifyZipInfo extends GenericService
This orderprocessing object verifies zipcode.
VeraZipable
,
VeraZipOrderImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
protected java.lang.String |
mErrorMessage |
protected boolean |
mStopProcessingOnError
Stop processing on tax calculation error? Defaults to true.
|
SERVICE_INFO_KEY
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
TaxWareVerifyZipInfo()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorMessage()
Deprecated.
This method is not thread safe. Inspect the AddressVerificationInfo for
error messages
|
boolean |
getStopProcessingOnError()
Get whether processOrder will return false if an exception occurs.
|
protected void |
modifyRequest(AddressVerificationInfo pOrder,
ZipRequest request,
boolean isBilling)
Modifies the request before submitting it to TaxWare.
|
protected boolean |
setErrorAndGetReturnValue(java.lang.String strError,
java.lang.String address,
ZipRequest zrequest)
Sets the zip error string associated with the order,
and returns the status for processOrder.
|
void |
setErrorMessage(java.lang.String pErrorMessage)
Deprecated.
This method is not thread safe. Inspect the AddressVerificationInfo for
error messages
|
void |
setStopProcessingOnError(boolean pStopProcessingOnError)
Set whether processOrder will return false if an exception occurs
|
protected static boolean |
shouldReverify(ZipRequest zipRequest,
ZipResult zipResult)
Returns whether or not we need to reverify shipTo info.
|
boolean |
verifyZip(AddressVerificationInfo pOrder)
This method gets the shipping cost from the ShippingMethod class.
|
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public static java.lang.String CLASS_VERSION
protected boolean mStopProcessingOnError
protected java.lang.String mErrorMessage
public void setStopProcessingOnError(boolean pStopProcessingOnError)
public boolean getStopProcessingOnError()
public void setErrorMessage(java.lang.String pErrorMessage)
public java.lang.String getErrorMessage()
protected boolean setErrorAndGetReturnValue(java.lang.String strError, java.lang.String address, ZipRequest zrequest)
protected void modifyRequest(AddressVerificationInfo pOrder, ZipRequest request, boolean isBilling)
protected static boolean shouldReverify(ZipRequest zipRequest, ZipResult zipResult)
public boolean verifyZip(AddressVerificationInfo pOrder)