Class DefaultConfigurationFindPriceHook
java.lang.Object
de.hybris.platform.cpq.productconfig.services.hooks.DefaultConfigurationFindPriceHook
- All Implemented Interfaces:
de.hybris.platform.order.strategies.calculation.FindPriceHook,de.hybris.platform.order.strategies.calculation.ServiceLayerOnlyCalculationVerifier
public class DefaultConfigurationFindPriceHook
extends Object
implements de.hybris.platform.order.strategies.calculation.FindPriceHook
Responsible for reading price from configuration summary
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultConfigurationFindPriceHook(ConfigurationService configurationService) -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.util.PriceValuefindBasePriceFromProductInfo(AbstractOrderEntryModel entry, de.hybris.platform.util.PriceValue defaultPrice) de.hybris.platform.util.PriceValuefindCustomBasePrice(AbstractOrderEntryModel entry, de.hybris.platform.util.PriceValue defaultPrice) protected ConfigurationServiceprotected List<CloudCPQOrderEntryProductInfoModel>getRelevantProductInfos(List<AbstractOrderEntryProductInfoModel> productInfos) booleanisApplicable(AbstractOrderEntryModel cartEntry) 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
-
DefaultConfigurationFindPriceHook
- Parameters:
configurationService- Configuration service
-
-
Method Details
-
getConfigurationService
-
findCustomBasePrice
public de.hybris.platform.util.PriceValue findCustomBasePrice(AbstractOrderEntryModel entry, de.hybris.platform.util.PriceValue defaultPrice) - Specified by:
findCustomBasePricein interfacede.hybris.platform.order.strategies.calculation.FindPriceHook
-
findBasePriceFromProductInfo
protected de.hybris.platform.util.PriceValue findBasePriceFromProductInfo(AbstractOrderEntryModel entry, de.hybris.platform.util.PriceValue defaultPrice) -
isApplicable
- Specified by:
isApplicablein interfacede.hybris.platform.order.strategies.calculation.FindPriceHook
-
getRelevantProductInfos
protected List<CloudCPQOrderEntryProductInfoModel> getRelevantProductInfos(List<AbstractOrderEntryProductInfoModel> productInfos)
-