atg.commerce.pricing.priceLists
Interface ItemSchemePriceCalculator

All Known Implementing Classes:
ItemListPriceCalculator, ItemSalesPriceCalculator, ItemSalesTieredPriceCalculator, ItemTieredPriceCalculator

public interface ItemSchemePriceCalculator

ItemSchemePriceCalculator is the calculator that prices the item based on its pricing scheme. Each pricing scheme, for instance, list pricing, bulk pricing, tiered pricing, etc will have a corresponding subclass that implements the method priceItem.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Method Summary
 void priceItem(RepositoryItem pPrice, ItemPriceInfo pPriceQuote, CommerceItem pItem, RepositoryItem pPricingModel, java.util.Locale pLocale, RepositoryItem pProfile, java.util.Map pExtraParameters)
          Price a single item in a context
 

Field Detail

CLASS_VERSION

static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values
Method Detail

priceItem

void priceItem(RepositoryItem pPrice,
               ItemPriceInfo pPriceQuote,
               CommerceItem pItem,
               RepositoryItem pPricingModel,
               java.util.Locale pLocale,
               RepositoryItem pProfile,
               java.util.Map pExtraParameters)
               throws PricingException
Price a single item in a context

Parameters:
pPrice - Price as extracted from the PriceList
pPriceQuote - ItemPriceInfo representing the current price quote for the item
pItem - The item to price
pPricingModel - A RepositoryItems representing a PricingModel
pProfile - The user's profile
pExtraParameters - A Map of extra parameters to be used in the pricing, may be null
Throws:
PricingException