public class FindSubscriptionPricingWithCurrentPriceFactoryStrategy extends FindPricingWithCurrentPriceFactoryStrategy
ProductModels.AbstractService.SerializableDTOmodelService, sessionService, txManagertenant| Constructor and Description |
|---|
FindSubscriptionPricingWithCurrentPriceFactoryStrategy() |
findDiscountValues, findTaxValues, getCurrentPriceFactorygetModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManagerafterPropertiesSet, getCurrentTenant, setBeanName, setCurrentTenant, setTenantScope, writeReplacepublic 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 calledfindBasePrice in interface FindPriceStrategyfindBasePrice in class FindPricingWithCurrentPriceFactoryStrategyentry - AbstractOrderEntryModelPriceValueCalculationExceptionprotected PriceValue createPriceValueForLastRecurringPrice(AbstractOrderModel order, SubscriptionPricePlanModel pricePlan)
public java.util.List<DiscountValue> findDiscountValues(AbstractOrderEntryModel entry) throws CalculationException
findDiscountValues in interface FindDiscountValuesStrategyfindDiscountValues in class FindPricingWithCurrentPriceFactoryStrategyDiscountValuesCalculationExceptionprotected java.util.List<DiscountValue> getDiscountValuesWhenBillingFrequency(AbstractOrderModel order, SubscriptionPricePlanModel pricePlan)
protected SubscriptionCommercePriceService getCommercePriceService()
public void setCommercePriceService(SubscriptionCommercePriceService commercePriceService)
protected SubscriptionProductService getSubscriptionProductService()
public void setSubscriptionProductService(SubscriptionProductService subscriptionProductService)
Copyright © 2018 SAP SE. All Rights Reserved.