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 |
CLASS_VERSION
static final java.lang.String CLASS_VERSION
- Class version string
- See Also:
- Constant Field Values
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 PriceListpPriceQuote
- ItemPriceInfo representing the current price quote for the itempItem
- The item to pricepPricingModel
- A RepositoryItems representing a PricingModelpProfile
- The user's profilepExtraParameters
- A Map of extra parameters to be used in the pricing, may be null
- Throws:
PricingException