public class PriceOrderTotal extends ApplicationLoggingImpl implements PipelineProcessor
atg.commerce.pricing.PricingConstants
interface. They include:
ORDER_TOTAL
ORDER_SUBTOTAL
ORDER_SUBTOTAL_SHIPPING
ORDER_SUBTOTAL_TAX
ITEMS
SHIPPING
ORDER
TAX
PricingConstants| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
STOP_CHAIN_EXECUTION, STOP_CHAIN_EXECUTION_AND_COMMIT, STOP_CHAIN_EXECUTION_AND_ROLLBACKDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description |
|---|
PriceOrderTotal()
Constructs an instanceof PriceOrderTotal
|
| Modifier and Type | Method and Description |
|---|---|
PricingTools |
getPricingTools()
Returns property PricingTools
|
int[] |
getRetCodes()
Returns the valid return codes
1 - Order priced successfully
2 - Order pricing failed
|
int |
runProcess(java.lang.Object pParam,
PipelineResult pResult)
Reprice the order by extracting out the necessary parameters from the Map which should
be supplied as the param
pParam. |
void |
setPricingTools(PricingTools pPricingTools)
Sets property PricingTools
|
addGlobalLogListeners, addLogListener, getLoggingForVlogging, getLoggingIdentifer, getLoggingIdentifier, 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, setLoggingIdentifier, setLoggingInfo, setLoggingTrace, setLoggingWarningvlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic PriceOrderTotal()
public void setPricingTools(PricingTools pPricingTools)
public PricingTools getPricingTools()
public int runProcess(java.lang.Object pParam,
PipelineResult pResult)
throws java.lang.Exception
pParam. The following parameters should be in the map.
runProcess in interface PipelineProcessorpParam - The object should be an instance of MappResult - the PipelineResult object which is used to return errors or other dataSUCCESS: (1) OR STOP_CHAIN_EXECUTION_AND_ROLLBACK:java.lang.Exceptionpublic int[] getRetCodes()
getRetCodes in interface PipelineProcessor