public class SubmittedOrderPricingModelHolder
extends atg.commerce.pricing.PricingModelHolder
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
protected CSRAgentTools |
mCSRAgentTools |
Constructor and Description |
---|
SubmittedOrderPricingModelHolder() |
Modifier and Type | Method and Description |
---|---|
void |
addPromotion(atg.repository.RepositoryItem pPromotion)
Adds a promotion to the holder.
|
CSRAgentTools |
getCSRAgentTools() |
atg.commerce.order.Order |
getOrder()
Return the Order property.
|
atg.commerce.order.OrderHolder |
getShoppingCart()
Returns property ShoppingCart
|
void |
initializePricingModels()
Reload the all pricing models for the order
|
void |
setCSRAgentTools(CSRAgentTools pCSRAgentTools)
Sets the property CSRAgentTools.
|
void |
setOrder(atg.commerce.order.Order pOrder)
Set the Order property.
|
void |
setShoppingCart(atg.commerce.order.OrderHolder pShoppingCart)
Sets property ShoppingCart
|
doStartService, getAllPromotions, getItemPricingEngine, getItemPricingModels, getOrderPricingEngine, getOrderPricingModels, getProfile, getPromotionStatusMap, getPromotionTools, getReinitializeTime, getShippingPricingEngine, getShippingPricingModels, getTaxPricingEngine, getTaxPricingModels, initializeAllPromotions, initializeItemPricingModels, initializeOrderPricingModels, initializePromotionStatusMap, initializeShippingPricingModels, initializeTaxPricingModels, isEnableInit, isPromotionInHolder, setAllPromotions, setEnableInit, setItemPricingEngine, setItemPricingModels, setOrderPricingEngine, setOrderPricingModels, setProfile, setPromotionTools, setReinitializeTime, setShippingPricingEngine, setShippingPricingModels, setTaxPricingEngine, setTaxPricingModels
addLogListener, createAdminServlet, 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 final java.lang.String CLASS_VERSION
protected CSRAgentTools mCSRAgentTools
public void setShoppingCart(atg.commerce.order.OrderHolder pShoppingCart)
pShoppingCart
- an OrderHolder
valuepublic atg.commerce.order.OrderHolder getShoppingCart()
OrderHolder
valuepublic void setOrder(atg.commerce.order.Order pOrder)
pOrder
- an Order
valuepublic atg.commerce.order.Order getOrder()
Order
valuepublic void setCSRAgentTools(CSRAgentTools pCSRAgentTools)
public CSRAgentTools getCSRAgentTools()
public void initializePricingModels()
initializePricingModels
in class atg.commerce.pricing.PricingModelHolder
public void addPromotion(atg.repository.RepositoryItem pPromotion)
This method can be used to add a promotion to the holder without having to first add it to the profile's active promotions.
pPromotion
- the promotion item to add to the holder