Interface TmaPriceFacade
- All Known Implementing Classes:
DefaultTmaPriceFacade
public interface TmaPriceFacade
Facade exposing operations related to the product offering prices.
- Since:
- 1903.
-
Method Summary
Modifier and TypeMethodDescriptiongetBestApplicablePrice(TmaPriceContext priceContext) Retrieves the best applicable price for a given priceContext.<T extends TmaComponentProdOfferPriceData>
List<T>getListOfPriceComponents(TmaProductOfferingPriceData productOfferingPrice, Class<T> componentPriceType) Determines the list of price components of type provided by navigating though the structure of the product offering price given.getMinimumPrice(TmaPriceContext priceContext) Deprecated.since 2007.getPriceDataType(ProductModel product) Returns thePriceDataTypefor the given.
-
Method Details
-
getMinimumPrice
Deprecated.since 2007. Use insteadgetBestApplicablePrice(TmaPriceContext)Retrieves the lowest price for the given, looking at both the stand alone price and price overrides of theTmaPriceContext.affectedProduct- Parameters:
priceContext- price context for which to retrieve the price- Returns:
- minimum price for the given
-
getBestApplicablePrice
Retrieves the best applicable price for a given priceContext.- Parameters:
priceContext- the price context for which we retrieve the price.- Returns:
- best applicable price for the given
-
getListOfPriceComponents
<T extends TmaComponentProdOfferPriceData> List<T> getListOfPriceComponents(TmaProductOfferingPriceData productOfferingPrice, Class<T> componentPriceType) Determines the list of price components of type provided by navigating though the structure of the product offering price given.- Parameters:
productOfferingPrice- the given POPcomponentPriceType- the type of the price components that has to be determined- Returns:
- the list of price components of the type given
-
getPriceDataType
Returns thePriceDataTypefor the given.- Parameters:
product- product to retrieve the price data type for- Returns:
- price data type for the product given
-