Interface FindPriceHook
-
- All Superinterfaces:
ServiceLayerOnlyCalculationVerifier
- All Known Implementing Classes:
DefaultProductConfigFindPriceHook
public interface FindPriceHook extends ServiceLayerOnlyCalculationVerifier
Hook that focuses on resolvingPriceValuefor the givenAbstractOrderEntryModel. Hook implementations need to be registered withDefaultSLFindPriceStrategy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PriceValuefindCustomBasePrice(AbstractOrderEntryModel entry, PriceValue defaultPrice)Resolves custom price value for the givenAbstractOrderEntryModel.booleanisApplicable(AbstractOrderEntryModel entry)Indicates whether a custom base price can be found for the givenAbstractOrderEntryModel.-
Methods inherited from interface de.hybris.platform.order.strategies.calculation.ServiceLayerOnlyCalculationVerifier
isSLOnly
-
-
-
-
Method Detail
-
findCustomBasePrice
PriceValue findCustomBasePrice(AbstractOrderEntryModel entry, PriceValue defaultPrice)
Resolves custom price value for the givenAbstractOrderEntryModel.- Parameters:
entry-AbstractOrderEntryModeldefaultPrive- defaultPriceValue- Returns:
PriceValue
-
isApplicable
boolean isApplicable(AbstractOrderEntryModel entry)
Indicates whether a custom base price can be found for the givenAbstractOrderEntryModel.- Parameters:
entry-AbstractOrderEntryModel- Returns:
- whether hook is applicable
-
-