Class BundleCurrentFactoryFindPricingStrategy
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.configurablebundleservices.bundle.impl.BundleCurrentFactoryFindPricingStrategy
- All Implemented Interfaces:
FindDiscountValuesStrategy,FindPriceStrategy,FindTaxValuesStrategy,ServiceLayerOnlyCalculationVerifier,UserNetCheckingStrategy,Serializable,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware
@Deprecated(since="2105",
forRemoval=true)
public class BundleCurrentFactoryFindPricingStrategy
extends FindPricingWithCurrentPriceFactoryStrategy
Deprecated, for removal: This API element is subject to removal in a future version.
Override of pricing strategies to involve bundle discounts.
- See Also:
-
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, txManagerFields inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
tenant -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected DiscountValuecreateDiscountValue(double discountPrice, double basePrice, String id, CurrencyModel currency) Deprecated, for removal: This API element is subject to removal in a future version.Creates a DiscountValue with an absolute reduction based on the givenbasePriceand the givendiscountPriceDeprecated, for removal: This API element is subject to removal in a future version.Find applicableDiscountValues for the target order entry.protected BundleRuleServiceDeprecated, for removal: This API element is subject to removal in a future version.protected BundleTemplateServiceDeprecated, for removal: This API element is subject to removal in a future version.voidsetBundleRuleService(BundleRuleService bundleRuleService) Deprecated, for removal: This API element is subject to removal in a future version.voidsetBundleTemplateService(BundleTemplateService bundleTemplateService) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class de.hybris.platform.order.strategies.calculation.impl.FindPricingWithCurrentPriceFactoryStrategy
afterPropertiesSet, findBasePrice, findDiscountValues, findTaxValues, getCurrentPriceFactory, getDiscountInformation, getFindDiscountValuesHooks, getFindPriceHooks, getPriceInformation, getTaxInformation, isNetUser, setApplicationContext, setFindDiscountValuesHooks, setFindPriceHooksMethods inherited from class de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
getModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManagerMethods inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
getCurrentTenant, setBeanName, setCurrentTenant, writeReplaceMethods 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
-
BundleCurrentFactoryFindPricingStrategy
public BundleCurrentFactoryFindPricingStrategy()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
findDiscountValues
@Nonnull public List<DiscountValue> findDiscountValues(@Nonnull AbstractOrderEntryModel entry) throws CalculationException Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FindDiscountValuesStrategyFind applicableDiscountValues for the target order entry.- Specified by:
findDiscountValuesin interfaceFindDiscountValuesStrategy- Overrides:
findDiscountValuesin classFindPricingWithCurrentPriceFactoryStrategy- Returns:
- List of
DiscountValues - Throws:
CalculationException
-
createDiscountValue
protected DiscountValue createDiscountValue(double discountPrice, double basePrice, String id, CurrencyModel currency) Deprecated, for removal: This API element is subject to removal in a future version.Creates a DiscountValue with an absolute reduction based on the givenbasePriceand the givendiscountPrice- Returns:
DiscountValue
-
getBundleRuleService
Deprecated, for removal: This API element is subject to removal in a future version. -
setBundleRuleService
Deprecated, for removal: This API element is subject to removal in a future version. -
getBundleTemplateService
Deprecated, for removal: This API element is subject to removal in a future version. -
setBundleTemplateService
Deprecated, for removal: This API element is subject to removal in a future version.
-
BundleFindDiscountValuesHookinstead.