Class FindPricingForConfigurableProductsStrategy
- java.lang.Object
-
- de.hybris.platform.servicelayer.internal.service.AbstractService
-
- de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
-
- de.hybris.platform.order.strategies.calculation.impl.FindPricingWithCurrentPriceFactoryStrategy
-
- de.hybris.platform.sap.productconfig.services.impl.FindPricingForConfigurableProductsStrategy
-
- All Implemented Interfaces:
FindDiscountValuesStrategy,FindPriceStrategy,FindTaxValuesStrategy,ServiceLayerOnlyCalculationVerifier,UserNetCheckingStrategy,java.io.Serializable,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware
public class FindPricingForConfigurableProductsStrategy extends FindPricingWithCurrentPriceFactoryStrategy
CPQ specific sub-class of theFindPricingWithCurrentPriceFactoryStrategy. This class ensures, that the base price of any configurable cart entry is kept, in case the cart is reclaculated.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
AbstractService.SerializableDTO
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
modelService, sessionService, txManager
-
Fields inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
tenant
-
-
Constructor Summary
Constructors Constructor Description FindPricingForConfigurableProductsStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PriceValuefindBasePrice(AbstractOrderEntryModel entry)Resolves price value for the givenAbstractOrderEntryModel.protected CPQConfigurableCheckergetCpqConfigurableChecker()voidsetCpqConfigurableChecker(CPQConfigurableChecker cpqConfigurableChecker)Set helper, to check if the related product is CPQ configurable-
Methods inherited from class de.hybris.platform.order.strategies.calculation.impl.FindPricingWithCurrentPriceFactoryStrategy
afterPropertiesSet, findDiscountValues, findDiscountValues, findTaxValues, getCurrentPriceFactory, getDiscountInformation, getPriceInformation, getTaxInformation, isNetUser, setApplicationContext
-
Methods inherited from class de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
getModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManager
-
Methods inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
getCurrentTenant, setBeanName, setCurrentTenant, writeReplace
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.order.strategies.calculation.ServiceLayerOnlyCalculationVerifier
isSLOnly
-
-
-
-
Method Detail
-
findBasePrice
public PriceValue findBasePrice(AbstractOrderEntryModel entry) throws CalculationException
Description copied from interface:FindPriceStrategyResolves price value for the givenAbstractOrderEntryModel. Please refer toFindPricingWithCurrentPriceFactoryStrategy, which resolves the price according to the current price factory.- Specified by:
findBasePricein interfaceFindPriceStrategy- Overrides:
findBasePricein classFindPricingWithCurrentPriceFactoryStrategy- Parameters:
entry-AbstractOrderEntryModel- Returns:
PriceValue- Throws:
CalculationException
-
getCpqConfigurableChecker
protected CPQConfigurableChecker getCpqConfigurableChecker()
-
setCpqConfigurableChecker
public void setCpqConfigurableChecker(CPQConfigurableChecker cpqConfigurableChecker)
Set helper, to check if the related product is CPQ configurable- Parameters:
cpqConfigurableChecker- configurator checker
-
-