Interface FindPriceStrategy
-
- All Superinterfaces:
ServiceLayerOnlyCalculationVerifier
- All Known Implementing Classes:
BundleCurrentFactoryFindPricingStrategy,DefaultSLFindPriceStrategy,FindBundlePricingWithCurrentPriceFactoryStrategy,FindPricingWithCurrentPriceFactoryStrategy,FindSubscriptionPricingWithCurrentPriceFactoryStrategy,TestPriceFactory
public interface FindPriceStrategy extends ServiceLayerOnlyCalculationVerifier
Strategy that focuses on resolvingPriceValuefor the givenAbstractOrderEntryModel.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PriceValuefindBasePrice(AbstractOrderEntryModel entry)Resolves price value for the givenAbstractOrderEntryModel.default java.util.List<PriceInformation>getPriceInformation(BaseCriteria baseCriteria)Get prices informationPriceInformationfor given criteria.-
Methods inherited from interface de.hybris.platform.order.strategies.calculation.ServiceLayerOnlyCalculationVerifier
isSLOnly
-
-
-
-
Method Detail
-
findBasePrice
PriceValue findBasePrice(AbstractOrderEntryModel entry) throws CalculationException
Resolves price value for the givenAbstractOrderEntryModel. Please refer toFindPricingWithCurrentPriceFactoryStrategy, which resolves the price according to the current price factory.- Parameters:
entry-AbstractOrderEntryModel- Returns:
PriceValue- Throws:
CalculationException
-
getPriceInformation
default java.util.List<PriceInformation> getPriceInformation(BaseCriteria baseCriteria) throws CalculationException
Get prices informationPriceInformationfor given criteria.- Parameters:
baseCriteria-BaseCriteria- Returns:
- the
Listof allPriceInformations which matching baseCriteria. If no matching prices were found, an empty collection is returned. - Throws:
CalculationException
-
-