|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.logging.ApplicationLoggingImpl atg.commerce.pricing.processor.PriceOrderTotal
public class PriceOrderTotal
A pipeline processor which is used to reprice an order. The order is repriced
depending on the pricing operation command which is supplied. The operations which
are supported are defined in the atg.commerce.pricing.PricingConstants
interface. They include:
ORDER_TOTAL
ORDER_SUBTOTAL
ORDER_SUBTOTAL_SHIPPING
ORDER_SUBTOTAL_TAX
ITEMS
SHIPPING
ORDER
TAX
PricingConstants
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from interface atg.service.pipeline.PipelineProcessor |
---|
STOP_CHAIN_EXECUTION, STOP_CHAIN_EXECUTION_AND_COMMIT, STOP_CHAIN_EXECUTION_AND_ROLLBACK |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
PriceOrderTotal()
Constructs an instanceof PriceOrderTotal |
Method Summary | |
---|---|
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 |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
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
Constructor Detail |
---|
public PriceOrderTotal()
Method Detail |
---|
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 PipelineProcessor
pParam
- The object should be an instance of MappResult
- the PipelineResult object which is used to return errors or other data
SUCCESS
: (1) OR STOP_CHAIN_EXECUTION_AND_ROLLBACK
:
java.lang.Exception
public int[] getRetCodes()
getRetCodes
in interface PipelineProcessor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |