public class FindSubscriptionPricingWithCurrentPriceFactoryStrategy
extends FindPricingWithCurrentPriceFactoryStrategy
ProductModels.| Constructor and Description |
|---|
FindSubscriptionPricingWithCurrentPriceFactoryStrategy() |
| Modifier and Type | Method and Description |
|---|---|
PriceValue |
findBasePrice(AbstractOrderEntryModel entry)
Resolves the subscription price value for the given AbstractOrderEntryModel by searching a
ProductModel that is applicable for the entry's subscription product. |
List<DiscountValue> |
findDiscountValues(AbstractOrderEntryModel entry)
Find applicable DiscountValues for the target order entry.
|
protected SubscriptionCommercePriceService |
getCommercePriceService() |
protected SubscriptionProductService |
getSubscriptionProductService() |
void |
setCommercePriceService(SubscriptionCommercePriceService commercePriceService) |
void |
setSubscriptionProductService(SubscriptionProductService subscriptionProductService) |
public FindSubscriptionPricingWithCurrentPriceFactoryStrategy()
public PriceValue findBasePrice(AbstractOrderEntryModel entry) throws CalculationException
ProductModel that is applicable for the entry's subscription product. In case the entry's
product is not a ProductModel or there is no ProductModel for it, the
standard method in the super implementations is calledCalculationExceptionpublic List<DiscountValue> findDiscountValues(AbstractOrderEntryModel entry) throws CalculationException
CalculationExceptionprotected SubscriptionCommercePriceService getCommercePriceService()
public void setCommercePriceService(SubscriptionCommercePriceService commercePriceService)
protected SubscriptionProductService getSubscriptionProductService()
public void setSubscriptionProductService(SubscriptionProductService subscriptionProductService)
Copyright © 2017 SAP SE. All Rights Reserved.