| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<SubscriptionPricePlanModel> |
SapRevenueCloudProductDao.getSubscriptionPricePlanForId(java.lang.String pricePlanId,
CatalogVersionModel catalogVersion)
Returns the
SubscriptionPricePlanModel for a specific pricePlan ID |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<SubscriptionPricePlanModel> |
DefaultSapSubscriptionProductDao.getSubscriptionPricePlanForId(java.lang.String pricePlanId,
CatalogVersionModel catalogVersion)
Get the subscription price plan for for a specific price plan ID
|
| Modifier and Type | Method and Description |
|---|---|
OneTimeChargeEntryModel |
SapRevenueCloudProductInboudHelper.checkForPayNowChargeEntry(SubscriptionPricePlanModel pricePlanModel)
Deprecated.
Checks if any
OneTimeChargeEntryModel with BillingEventModel with code 'paynow' present. |
void |
SapRevenueCloudProductInboudHelper.updatePayNowChargeEntry(SubscriptionPricePlanModel pricePlanModel,
OneTimeChargeEntryModel payNowCharge)
Deprecated.
Update the
OneTimeChargeEntryModel's price value with the sum of all other OneTimeChargeEntryModel
price value associated to the specific SubscriptionPricePlanModel |
| Modifier and Type | Method and Description |
|---|---|
SubscriptionPricePlanModel |
SapRevenueCloudProductService.getSubscriptionPricePlanForId(java.lang.String pricePlanId,
CatalogVersionModel catalogVersion)
get the Subscription price for a specific price plan ID
|
| Modifier and Type | Method and Description |
|---|---|
SubscriptionPricePlanModel |
DefaultSapRevenueCloudProductService.getSubscriptionPricePlanForId(java.lang.String pricePlanId,
CatalogVersionModel catalogVersion)
Get the subscription price plan for a specific priceplan ID
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
FindBundlePricingWithCurrentPriceFactoryStrategy.reduceOneTimePrice(SubscriptionPricePlanModel pricePlan,
ChangeProductPriceBundleRuleModel priceRule,
java.util.List<DiscountValue> discountValues,
CurrencyModel currency,
AbstractOrderEntryModel entry)
The price logic for subscription product: discount are applied to one time charge.
|
protected void |
FindBundlePricingWithCurrentPriceFactoryStrategy.reduceRecurringPrice(ProductModel subscriptionProduct,
ChangeProductPriceBundleRuleModel priceRule,
java.util.List<DiscountValue> discountValues,
AbstractOrderEntryModel entry,
SubscriptionPricePlanModel pricePlan)
hard coded price logic for subscription products: discounts are only applied to recurring prices
|
| Modifier and Type | Method and Description |
|---|---|
protected SubscriptionPricePlanModel |
DefaultSapRevenueCloudSubscriptionFacade.getRatePlanId(java.lang.String ratePlanId,
CatalogVersionModel currentCatalog) |
| Modifier and Type | Class and Description |
|---|---|
class |
SubscriptionPricePlanOneTimeChargePopulator<SOURCE extends SubscriptionPricePlanModel,TARGET extends SubscriptionPricePlanData>
Populate DTO
SubscriptionPricePlanData.oneTimeChargeEntries with data from
SubscriptionPricePlanModel#_oneTimeChargeEntries. |
class |
SubscriptionPricePlanRecurringChargePopulator<SOURCE extends SubscriptionPricePlanModel,TARGET extends SubscriptionPricePlanData>
Populate DTO
SubscriptionPricePlanData.recurringChargeEntries with data from
SubscriptionPricePlanModel#_recurringChargeEntries. |
class |
SubscriptionPricePlanUsageChargePopulator<SOURCE extends SubscriptionPricePlanModel,TARGET extends SubscriptionPricePlanData>
Populate DTO
SubscriptionPricePlanData.usageCharges with data from
SubscriptionPricePlanModel#_usageCharges. |
| Modifier and Type | Method and Description |
|---|---|
protected Populator<SubscriptionPricePlanModel,SubscriptionPricePlanData> |
SubscriptionProductPricePlanPopulator.getPricePlanOneTimeChargePopulator() |
protected Populator<SubscriptionPricePlanModel,SubscriptionPricePlanData> |
SubscriptionProductPricePlanPopulator.getPricePlanRecurringChargePopulator() |
protected Converter<SubscriptionPricePlanModel,SubscriptionPricePlanData> |
SubscriptionProductPricePlanPopulator.getPricePlanUsageChargeConverter() |
| Modifier and Type | Method and Description |
|---|---|
void |
SubscriptionProductPricePlanPopulator.setPricePlanOneTimeChargePopulator(Populator<SubscriptionPricePlanModel,SubscriptionPricePlanData> pricePlanOneTimeChargePopulator) |
void |
SubscriptionProductPricePlanPopulator.setPricePlanRecurringChargePopulator(Populator<SubscriptionPricePlanModel,SubscriptionPricePlanData> pricePlanRecurringChargePopulator) |
void |
SubscriptionProductPricePlanPopulator.setPricePlanUsageChargeConverter(Converter<SubscriptionPricePlanModel,SubscriptionPricePlanData> pricePlanUsageChargeConverter) |
| Modifier and Type | Method and Description |
|---|---|
SubscriptionPricePlanModel |
OneTimeChargeEntryModel.getSubscriptionPricePlanOneTime()
Generated method - Getter of the
OneTimeChargeEntry.subscriptionPricePlanOneTime attribute defined at extension subscriptionservices. |
SubscriptionPricePlanModel |
RecurringChargeEntryModel.getSubscriptionPricePlanRecurring()
Generated method - Getter of the
RecurringChargeEntry.subscriptionPricePlanRecurring attribute defined at extension subscriptionservices. |
SubscriptionPricePlanModel |
UsageChargeModel.getSubscriptionPricePlanUsage()
Generated method - Getter of the
UsageCharge.subscriptionPricePlanUsage attribute defined at extension subscriptionservices. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<java.lang.String> |
ValidationMessagesSubscriptionPricePlanAttribute.get(SubscriptionPricePlanModel model) |
void |
OneTimeChargeEntryModel.setSubscriptionPricePlanOneTime(SubscriptionPricePlanModel value)
Generated method - Setter of
OneTimeChargeEntry.subscriptionPricePlanOneTime attribute defined at extension subscriptionservices. |
void |
RecurringChargeEntryModel.setSubscriptionPricePlanRecurring(SubscriptionPricePlanModel value)
Generated method - Setter of
RecurringChargeEntry.subscriptionPricePlanRecurring attribute defined at extension subscriptionservices. |
void |
UsageChargeModel.setSubscriptionPricePlanUsage(SubscriptionPricePlanModel value)
Generated method - Setter of
UsageCharge.subscriptionPricePlanUsage attribute defined at extension subscriptionservices. |
| Modifier and Type | Method and Description |
|---|---|
SubscriptionPricePlanModel |
SubscriptionCommercePriceService.getSubscriptionPricePlanForEntry(AbstractOrderEntryModel entry)
Search a
SubscriptionPricePlanModel for the given entry's product. |
default SubscriptionPricePlanModel |
SubscriptionCommercePriceService.getSubscriptionPricePlanForProduct(ProductModel subscriptionProduct)
Search a
SubscriptionPricePlanModel for the given subscriptionProduct. |
SubscriptionPricePlanModel |
SubscriptionCommercePriceService.getSubscriptionPricePlanForProduct(SubscriptionProductModel subscriptionProduct)
Deprecated.
Since 5.9.9 Use
SubscriptionCommercePriceService.getSubscriptionPricePlanForProduct(ProductModel) instead. |
| Modifier and Type | Method and Description |
|---|---|
RecurringChargeEntryModel |
SubscriptionCommercePriceService.getFirstRecurringPriceFromPlan(SubscriptionPricePlanModel pricePlan)
Returns the first recurring price of the given
SubscriptionPricePlanModel. |
RecurringChargeEntryModel |
SubscriptionCommercePriceService.getLastRecurringPriceFromPlan(SubscriptionPricePlanModel pricePlan)
Returns the last recurring price of the given
SubscriptionPricePlanModel. |
OneTimeChargeEntryModel |
SubscriptionCommercePriceService.getOneTimeChargeEntryPlan(SubscriptionPricePlanModel pricePlan,
BillingEventModel billingEvent)
Returns the one time charge entry of the given
SubscriptionPricePlanModel. |
| Modifier and Type | Method and Description |
|---|---|
SubscriptionPricePlanModel |
DefaultSubscriptionCommercePriceService.getSubscriptionPricePlanForEntry(AbstractOrderEntryModel entry) |
SubscriptionPricePlanModel |
DefaultSubscriptionCommercePriceService.getSubscriptionPricePlanForProduct(ProductModel subscriptionProduct) |
SubscriptionPricePlanModel |
DefaultSubscriptionCommercePriceService.getSubscriptionPricePlanForProduct(SubscriptionProductModel subscriptionProduct) |
| Modifier and Type | Method and Description |
|---|---|
RecurringChargeEntryModel |
DefaultSubscriptionCommercePriceService.getFirstRecurringPriceFromPlan(SubscriptionPricePlanModel pricePlan) |
RecurringChargeEntryModel |
DefaultSubscriptionCommercePriceService.getLastRecurringPriceFromPlan(SubscriptionPricePlanModel pricePlan) |
OneTimeChargeEntryModel |
DefaultSubscriptionCommercePriceService.getOneTimeChargeEntryPlan(SubscriptionPricePlanModel pricePlan,
BillingEventModel billingEvent) |
| Modifier and Type | Method and Description |
|---|---|
SubscriptionPricePlanModel |
SubscriptionPricePlanResource.getSubscriptionPricePlanModel()
Convenience method which just delegates to
AbstractResource.getResourceValue() |
protected SubscriptionPricePlanModel |
SubscriptionPricePlanResource.readResource(java.lang.String resourceId)
Gets the
SubscriptionPricePlanModel resource which is addressed by current resource request. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<SubscriptionPricePlanModel> |
SubscriptionPricePlansResource.getSubscriptionPricePlansCollection()
Convenience method which just delegates to
AbstractResource.getResourceValue() |
| Modifier and Type | Method and Description |
|---|---|
void |
SubscriptionPricePlanResource.setSubscriptionPricePlanModel(SubscriptionPricePlanModel value)
Convenience method which just delegates to
#setResourceValue(SubscriptionPricePlanModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
SubscriptionPricePlansResource.setSubscriptionPricePlansCollection(java.util.Collection<SubscriptionPricePlanModel> value)
Convenience method which just delegates to
#setResourceValue(Collection) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DefaultSubscriptionCommerceCartService.addOneRecurringFrequency(SubscriptionPricePlanModel subscriptionPricePlan,
java.util.List<BillingTimeModel> billingFrequencies) |
protected PriceValue |
FindSubscriptionPricingWithCurrentPriceFactoryStrategy.createPriceValueForLastRecurringPrice(AbstractOrderModel order,
SubscriptionPricePlanModel pricePlan) |
protected java.util.List<DiscountValue> |
FindSubscriptionPricingWithCurrentPriceFactoryStrategy.getDiscountValuesWhenBillingFrequency(AbstractOrderModel order,
SubscriptionPricePlanModel pricePlan) |
protected boolean |
DefaultSubscriptionCommerceCartService.useBillingFrequencyForProduct(ProductModel subscriptionProduct,
SubscriptionPricePlanModel subscriptionPricePlan) |
Copyright © 2018 SAP SE. All Rights Reserved.