Interface FindPriceHook
- All Superinterfaces:
ServiceLayerOnlyCalculationVerifier
- All Known Implementing Classes:
DefaultProductConfigFindPriceHook,SubscriptionPriceFindPriceHook
Hook that focuses on resolving
PriceValue for the given AbstractOrderEntryModel. Hook implementations
need to be registered with DefaultSLFindPriceStrategy-
Method Summary
Modifier and TypeMethodDescriptionfindCustomBasePrice(AbstractOrderEntryModel entry, PriceValue defaultPrice) Resolves custom price value for the givenAbstractOrderEntryModel.booleanIndicates whether a custom base price can be found for the givenAbstractOrderEntryModel.Methods inherited from interface de.hybris.platform.order.strategies.calculation.ServiceLayerOnlyCalculationVerifier
isSLOnly
-
Method Details
-
findCustomBasePrice
Resolves custom price value for the givenAbstractOrderEntryModel.- Parameters:
entry-AbstractOrderEntryModeldefaultPrive- defaultPriceValue- Returns:
PriceValue
-
isApplicable
Indicates whether a custom base price can be found for the givenAbstractOrderEntryModel.- Parameters:
entry-AbstractOrderEntryModel- Returns:
- whether hook is applicable
-