atg.projects.store.pricing
Class StorePricingTools

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.GenericService
          extended by atg.commerce.messaging.SourceSinkTemplate
              extended by atg.commerce.pricing.PricingTools
                  extended by atg.projects.store.pricing.StorePricingTools
All Implemented Interfaces:
atg.dms.patchbay.MessageSink, atg.dms.patchbay.MessageSource, atg.naming.NameContextBindingListener, atg.naming.NameContextElement, atg.naming.NameResolver, atg.nucleus.AdminableService, atg.nucleus.logging.ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, atg.nucleus.logging.VariableArgumentApplicationLogging, atg.nucleus.naming.ComponentNameResolver, atg.nucleus.Service, atg.nucleus.ServiceListener, java.util.EventListener

public class StorePricingTools
extends atg.commerce.pricing.PricingTools

Store extension for the PricingTools.

See Also:
PricingTools

Field Summary
static java.lang.String CLASS_VERSION
          Class version string.
 
Fields inherited from class atg.commerce.pricing.PricingTools
DETAILED_ITEM_PRICE_AMOUNT_PROPERTY, DETAILED_ITEM_PRICE_ORDER_DISCOUNT_SHARE_PROPERTY, DETAILED_ITEM_PRICE_ORDER_MANUAL_ADJUSTMENT_SHARE_PROPERTY, mItemPriceSourceHandlers, mUsingPriceLists
 
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
StorePricingTools()
           
 
Method Summary
 java.util.Map generateUnitPriceBeans(atg.commerce.order.Order pOrder)
          Generates a Map of unit price beans for all items in the order.
 
Methods inherited from class atg.commerce.pricing.PricingTools
addPriceBeanForInfo, calculateItemsOrderManualAdjustmentShare, calculatePrice, calculatePrice, calculateTaxableAmount, calculateTaxableAmount, calculateTaxableAmountByAverage, calculateTaxableAmountByAverage, compareClosenessQualifiers, compareQualifiers, createDetailedItemPriceInfo, createDetailedItemPriceInfo, createInitialSubSkuDetailedPriceInfo, createItemPriceSource, createItemPriceSource, createOrderPriceInfo, createPriceChangedEvent, createPricingCommerceItem, createSubSkuPriceInfo, deriveUsingPriceLists, doesOrderContainPriceLists, doStartService, findAdjustmentsByDescription, findMatchingSource, firePromotionClosenessMessage, generateItemPriceSources, generateItemPriceSources, generateItemPricingSourceMap, generateKeyForTieredProcessedItem, generatePriceBeans, generatePriceBeans, getAverageItemPrice, getCatalogTools, getClosenessQualificationMessageSender, getCommerceItemManager, getCurrencySymbol, getCurrencySymbol, getDecimalFormatSymbols, getDecimalFormatSymbols, getDefaultLocale, getDetailedItemPriceInfoClass, getDetailedItemPriceTools, getInternationalCurrencySymbol, getInternationalCurrencySymbol, getItemPriceSource, getItemPriceSourceHandlers, getItemPricingEngine, getItemsOrderDiscountShare, getListPriceListFromOrder, getLocale, getLoggingIdentifier, getMessageIdGenerator, getMessageIdSpaceName, getNextMessageId, getOrderManager, getOrderPricingEngine, getOrderTools, getPriceList, getPriceListFromParameters, getPriceListManager, getPricingContextFactory, getPricingLocale, getProfile, getProfileItemType, getProfileRepository, getPromotionClosenessDisqualificationJMSType, getPromotionClosenessQualificationJMSType, getRangeClassType, getRangeComparator, getRelationshipsSubtotal, getRoundingDecimalPlaces, getSalePriceListFromOrder, getScenarioEventPort, getShipItemRelPriceTotal, getShippingGroupCommerceItemRelationship, getShippingPricingEngine, getSubSkuPriceInfoClass, getTaxPricingEngine, getTotalQuantityForBulkPricing, isGeneratePriceChangedEvents, isMatchForBulkPricing, isSendEventsWithNoProfile, isSendPromotionClosenessMessages, isShippingSubtotalUsesAverageItemPrice, isTaxable, isUseDefaultLocaleIfNotSpecified, isUsePassedLocaleAsPricingLocale, isUsingPriceLists, isUsingPriceListsExplicitlySet, needsRounding, performPricingOperation, priceEachItem, priceEachItem, priceEachItem, priceEachItem, priceItem, priceItem, priceItem, priceItem, priceItemsForOrderTotal, priceItemsForOrderTotal, priceItemsForOrderTotal, priceItemsForOrderTotal, priceOrderForOrderTotal, priceOrderForOrderTotal, priceOrderForOrderTotal, priceOrderForOrderTotal, priceOrderSubtotal, priceOrderSubtotal, priceOrderSubtotal, priceOrderSubtotalShipping, priceOrderSubtotalShipping, priceOrderSubtotalShipping, priceOrderSubtotalTax, priceOrderSubtotalTax, priceOrderSubtotalTax, priceOrderTotal, priceOrderTotal, priceOrderTotal, priceOrderTotal, priceOrderTotal, priceShippingForOrderTotal, priceShippingForOrderTotal, priceShippingForOrderTotal, priceShippingForOrderTotal, priceTaxForOrderTotal, priceTaxForOrderTotal, priceTaxForOrderTotal, priceTaxForOrderTotal, round, round, roundDown, sendPriceChangedEvent, sendPromotionClosenessQualificationMessage, setCatalogTools, setClosenessQualificationMessageSender, setCommerceItemManager, setDefaultLocale, setDetailedItemPriceInfoClass, setGeneratePriceChangedEvents, setItemPriceSourceHandlers, setItemPricingEngine, setLoggingIdentifier, setMessageIdGenerator, setMessageIdSpaceName, setOrderManager, setOrderPricingEngine, setOrderTools, setPriceListManager, setPricingContextFactory, setProfileItemType, setProfileRepository, setPromotionClosenessDisqualificationJMSType, setPromotionClosenessQualificationJMSType, setRangeClassType, setRangeComparator, setRoundingDecimalPlaces, setScenarioEventPort, setSendEventsWithNoProfile, setSendPromotionClosenessMessages, setShippingPricingEngine, setShippingSubtotalUsesAverageItemPrice, setSubSkuPrice, setSubSkuPriceInfoClass, setSubSkuSalePrice, setTaxPricingEngine, setUseDefaultLocaleIfNotSpecified, setUsePassedLocaleAsPricingLocale, setUsingPriceLists
 
Methods inherited from class atg.commerce.messaging.SourceSinkTemplate
getDelayOnSendRetry, getMessageSourceContext, getMessageSourceName, getTransactionManager, isAllowMessageSending, receiveMessage, sendCommerceMessage, sendObjectMessage, setAllowMessageSending, setDelayOnSendRetry, setMessageSourceContext, setMessageSourceName, setTransactionManager, startMessageSource, stopMessageSource
 
Methods inherited from class atg.nucleus.GenericService
addLogListener, createAdminServlet, doStopService, 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, reResolveThis, 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

CLASS_VERSION

public static final java.lang.String CLASS_VERSION
Class version string.

See Also:
Constant Field Values
Constructor Detail

StorePricingTools

public StorePricingTools()
Method Detail

generateUnitPriceBeans

public java.util.Map generateUnitPriceBeans(atg.commerce.order.Order pOrder)
Generates a Map of unit price beans for all items in the order. the key to the map is the commerce item id. each value in the map is a list of UnitPriceBeans.

Parameters:
pOrder - Order
Returns:
map of unit price beans