public interface SubscriptionCommercePriceService extends CommercePriceService
CommercePriceService in order to retrieve the applicable SubscriptionPricePlanModel for a
product as the CommercePriceService returns the price information only. The standard filtering functionality
for PriceRowModels of the active PriceFactory is used.getFromPriceForProduct, getWebPriceForProduct@Deprecated SubscriptionPricePlanModel getSubscriptionPricePlanForProduct(SubscriptionProductModel subscriptionProduct)
getSubscriptionPricePlanForProduct(ProductModel) instead.subscriptionProduct - productdefault SubscriptionPricePlanModel getSubscriptionPricePlanForProduct(ProductModel subscriptionProduct)
SubscriptionPricePlanModel for the given subscriptionProduct.subscriptionProduct - the SubscriptionProductModelSubscriptionPricePlanModel or nullSubscriptionPricePlanModel getSubscriptionPricePlanForEntry(AbstractOrderEntryModel entry)
SubscriptionPricePlanModel for the given entry's product.entry - the AbstractOrderEntryModelSubscriptionPricePlanModel or nullRecurringChargeEntryModel getFirstRecurringPriceFromPlan(SubscriptionPricePlanModel pricePlan)
SubscriptionPricePlanModel. It is assumed that the
recurring prices are sorted in a way so that the price increases as time goes by. Therefore, the returned
recurring price is the lowest price. If price logic is different this function must be overridden.pricePlan - SubscriptionPricePlanModelpricePlan or nullRecurringChargeEntryModel getLastRecurringPriceFromPlan(SubscriptionPricePlanModel pricePlan)
SubscriptionPricePlanModel. It is assumed that the recurring
prices are sorted in a way so that the price increases as time goes by. Therefore, the returned recurring price is
the highest price. If price logic is different this function must be overridden.pricePlan - SubscriptionPricePlanModelpricePlan or nullOneTimeChargeEntryModel getOneTimeChargeEntryPlan(SubscriptionPricePlanModel pricePlan, BillingEventModel billingEvent)
SubscriptionPricePlanModel.pricePlan - SubscriptionPricePlanModelbillingEvent - BillingEventModelCopyright © 2018 SAP SE. All Rights Reserved.