public class FindOrderDiscountValuesStrategy extends AbstractBusinessService implements FindDiscountValuesStrategy
FindDiscountValuesStrategy that resolves DiscountValues from the order's attached
DiscountModels.AbstractService.SerializableDTOmodelService, sessionService, txManagertenant| Constructor and Description |
|---|
FindOrderDiscountValuesStrategy() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<DiscountValue> |
findDiscountValues(AbstractOrderEntryModel entry)
Find applicable
DiscountValues for the target order entry. |
java.util.List<DiscountValue> |
findDiscountValues(AbstractOrderModel order)
Find applicable global
DiscountValues for the target order. |
protected DiscountValue |
getDiscountValue(DiscountModel discount,
AbstractOrderModel order) |
getModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManagerafterPropertiesSet, getCurrentTenant, setBeanName, setCurrentTenant, writeReplaceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDiscountInformationisSLOnlypublic java.util.List<DiscountValue> findDiscountValues(AbstractOrderEntryModel entry) throws CalculationException
FindDiscountValuesStrategyDiscountValues for the target order entry.findDiscountValues in interface FindDiscountValuesStrategyDiscountValuesCalculationExceptionpublic java.util.List<DiscountValue> findDiscountValues(AbstractOrderModel order) throws CalculationException
FindDiscountValuesStrategyDiscountValues for the target order. They may originate from the current session's
price factory or DiscountModels directly attached to the target order.findDiscountValues in interface FindDiscountValuesStrategyDiscountValuesCalculationExceptionprotected DiscountValue getDiscountValue(DiscountModel discount, AbstractOrderModel order)
Copyright © 2018 SAP SE. All Rights Reserved.