public class BundleCurrentFactoryFindPricingStrategy extends FindPricingWithCurrentPriceFactoryStrategy
AbstractService.SerializableDTOmodelService, sessionService, txManagertenant| Constructor and Description |
|---|
BundleCurrentFactoryFindPricingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected DiscountValue |
createDiscountValue(double discountPrice,
double basePrice,
java.lang.String id,
CurrencyModel currency)
Creates a DiscountValue with an absolute reduction based on the given
basePrice and the given
discountPrice |
java.util.List<DiscountValue> |
findDiscountValues(AbstractOrderEntryModel entry)
Find applicable
DiscountValues for the target order entry. |
protected BundleRuleService |
getBundleRuleService() |
protected BundleTemplateService |
getBundleTemplateService() |
void |
setBundleRuleService(BundleRuleService bundleRuleService) |
void |
setBundleTemplateService(BundleTemplateService bundleTemplateService) |
afterPropertiesSet, findBasePrice, findDiscountValues, findTaxValues, getCurrentPriceFactory, getDiscountInformation, getPriceInformation, getTaxInformation, isNetUser, setApplicationContextgetModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManagergetCurrentTenant, setBeanName, setCurrentTenant, writeReplaceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisSLOnlypublic BundleCurrentFactoryFindPricingStrategy()
public java.util.List<DiscountValue> findDiscountValues(AbstractOrderEntryModel entry) throws CalculationException
FindDiscountValuesStrategyDiscountValues for the target order entry.findDiscountValues in interface FindDiscountValuesStrategyfindDiscountValues in class FindPricingWithCurrentPriceFactoryStrategyDiscountValuesCalculationExceptionprotected DiscountValue createDiscountValue(double discountPrice, double basePrice, java.lang.String id, CurrencyModel currency)
basePrice and the given
discountPriceDiscountValueprotected BundleRuleService getBundleRuleService()
public void setBundleRuleService(BundleRuleService bundleRuleService)
protected BundleTemplateService getBundleTemplateService()
public void setBundleTemplateService(BundleTemplateService bundleTemplateService)
Copyright © 2018 SAP SE. All Rights Reserved.