public class ProcVerifyShippingAddresses
extends atg.commerce.order.processor.ProcVerifyOrderAddresses
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string.
|
static java.lang.String |
MSG_INVALID_ADDRESS |
static java.lang.String |
MSG_INVALID_ORDER_MANAGER_PARAMETER |
static java.lang.String |
MSG_INVALID_ORDER_PARAMETER |
STOP_CHAIN_EXECUTION, STOP_CHAIN_EXECUTION_AND_COMMIT, STOP_CHAIN_EXECUTION_AND_ROLLBACK
Constructor and Description |
---|
ProcVerifyShippingAddresses() |
Modifier and Type | Method and Description |
---|---|
int |
runProcess(java.lang.Object pParam,
atg.service.pipeline.PipelineResult pResult)
This method executes the address verification.
|
addHashedError, cacheAddress, getAddressVerificationCache, getAddressVerificationProcessor, getCachedAddress, getLoggingIdentifier, getRetCodes, hasBeenVerified, isUseCache, setAddressVerificationCache, setAddressVerificationProcessor, setLoggingIdentifier, setUseCache, verifyAddress
addGlobalLogListeners, addLogListener, getLoggingForVlogging, getLoggingIdentifer, getLogListenerCount, getLogListeners, initializeFromServiceEvent, isAutoInitListeners, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, removeLogListener, sendLogEvent, setAutoInitListeners, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public static final java.lang.String CLASS_VERSION
public static final java.lang.String MSG_INVALID_ORDER_PARAMETER
public static final java.lang.String MSG_INVALID_ORDER_MANAGER_PARAMETER
public static final java.lang.String MSG_INVALID_ADDRESS
public int runProcess(java.lang.Object pParam, atg.service.pipeline.PipelineResult pResult) throws atg.commerce.CommerceException
This method executes the address verification. It searches through the ShippingGroup and PaymentGroup lists in the Order for HardgoodShippingGroup and CreditCard objects. It then gets the address from them and calls verifyAddress().
This method requires that an Order and an OrderManager object be supplied in pParam in a HashMap. Use the PipelineConstants class' static members to key the objects in the HashMap.
runProcess
in interface atg.service.pipeline.PipelineProcessor
runProcess
in class atg.commerce.order.processor.ProcVerifyOrderAddresses
pParam
- a HashMap which must contain an Order and OrderManager object.pResult
- a PipelineResult object which stores any information which must
be returned from this method invocation.atg.commerce.CommerceException
- indicates that a severe error occurred while performing a commerce operation.PipelineProcessor.runProcess(Object, PipelineResult).