|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.commerce.pricing.PricingEngineService
atg.commerce.pricing.TaxPricingEngineImpl
atg.projects.store.pricing.StoreTaxPricingEngine
public class StoreTaxPricingEngine
This overrides TaxPricingEngineImpl's getCurrencyCode() to get the currency from the price list, rather than the user locale.
TaxPricingEngineImpl| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string. |
| Fields inherited from class atg.commerce.pricing.PricingEngineService |
|---|
mGlobalPromotions |
| Fields inherited from class atg.nucleus.GenericService |
|---|
SERVICE_INFO_KEY |
| 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 | |
|---|---|
StoreTaxPricingEngine()
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
getCurrencyCode(atg.commerce.order.Order pOrder,
java.util.Collection pPricingModels,
java.util.Locale pLocale,
atg.repository.RepositoryItem pProfile,
java.util.Map pExtraParameters)
Return the currency code that should be used in the context of this pricing request. |
StorePriceListManager |
getPriceListManager()
Returns the reference to the PriceListManager which handles the operations of the PriceList. |
void |
setPriceListManager(StorePriceListManager pPriceListManager)
Sets property PriceListManager which handles the operations of the PriceList. |
| Methods inherited from class atg.commerce.pricing.TaxPricingEngineImpl |
|---|
checkPromotionsForCloseness, getPostCalculators, getPreCalculators, getPricingModels, priceTax, setPostCalculators, setPreCalculators |
| Methods inherited from class atg.commerce.pricing.PricingEngineService |
|---|
addPromotion, addPromotionToList, checkAndAddPromotions, checkPromotionExpiration, createPriceInfo, doStartService, doStopService, expirePromotion, findGlobalPromotions, getAdjustmentPricingModels, getCalculator, getClosenessQualifierEvaluator, getCurrencyCode, getDefaultLocale, getGlobalPromotions, getGlobalPromotionsQuery, getGlobalPromotionsSchedulableDate, getInitialPromotions, getPriceInfoClass, getPricingCurrencyCode, getPricingModelComparator, getPricingModelProperties, getPricingTools, getProfileProperties, getPromotionItemDescriptors, getPromotionItemTypes, getPromotions, getPromotionsRepository, getPromotionTools, getScheduler, getUpdateSchedule, getUserOnlyPromotions, loadGlobalPromotions, performScheduledTask, setClosenessQualifierEvaluator, setDefaultLocale, setGlobalPromotionsQuery, setGlobalPromotionsSchedulableDate, setPriceInfoClass, setPricingModelComparator, setPricingModelProperties, setPricingTools, setProfileProperties, setPromotionItemTypes, setPromotionsRepository, setPromotionTools, setScheduler, setUpdateSchedule |
| Methods inherited from class atg.nucleus.GenericService |
|---|
addLogListener, createAdminServlet, getAbsoluteName, getAdminServlet, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService |
| Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
|---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, 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 StoreTaxPricingEngine()
| Method Detail |
|---|
public void setPriceListManager(StorePriceListManager pPriceListManager)
pPriceListManager - the new value to setpublic StorePriceListManager getPriceListManager()
protected java.lang.String getCurrencyCode(atg.commerce.order.Order pOrder,
java.util.Collection pPricingModels,
java.util.Locale pLocale,
atg.repository.RepositoryItem pProfile,
java.util.Map pExtraParameters)
throws atg.commerce.pricing.PricingException
getCurrencyCode in class atg.commerce.pricing.TaxPricingEngineImplatg.commerce.pricing.PricingException - if an error occurs while attempting to determine the currency code
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||