Class DefaultProductConfigFindPriceHook
java.lang.Object
de.hybris.platform.sap.productconfig.services.impl.DefaultProductConfigFindPriceHook
- All Implemented Interfaces:
FindPriceHook,ServiceLayerOnlyCalculationVerifier
Product configuration specific implementation of
FindPriceHook-
Constructor Summary
ConstructorsConstructorDescriptionDefaultProductConfigFindPriceHook(CPQConfigurableChecker cpqConfigurableChecker, ProductConfigurationPricingStrategy productConfigurationPricingStrategy) -
Method Summary
Modifier and TypeMethodDescriptionfindCustomBasePrice(AbstractOrderEntryModel entry, PriceValue defaultPrice) Resolves custom price value for the givenAbstractOrderEntryModel.protected CPQConfigurableCheckerprotected ProductConfigurationPricingStrategybooleanIndicates whether a custom base price can be found for the givenAbstractOrderEntryModel.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.order.strategies.calculation.ServiceLayerOnlyCalculationVerifier
isSLOnly
-
Constructor Details
-
DefaultProductConfigFindPriceHook
public DefaultProductConfigFindPriceHook(CPQConfigurableChecker cpqConfigurableChecker, ProductConfigurationPricingStrategy productConfigurationPricingStrategy)
-
-
Method Details
-
findCustomBasePrice
Description copied from interface:FindPriceHookResolves custom price value for the givenAbstractOrderEntryModel.- Specified by:
findCustomBasePricein interfaceFindPriceHook- Parameters:
entry-AbstractOrderEntryModel- Returns:
PriceValue
-
isApplicable
Description copied from interface:FindPriceHookIndicates whether a custom base price can be found for the givenAbstractOrderEntryModel.- Specified by:
isApplicablein interfaceFindPriceHook- Parameters:
entry-AbstractOrderEntryModel- Returns:
- whether hook is applicable
-
getCpqConfigurableChecker
-
getProductConfigurationPricingStrategy
-