public class AddonUtils
extends java.lang.Object
| Constructor and Description |
|---|
AddonUtils() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkAddonCreationRights(SubscriptionBase baseSubscription,
Plan targetAddOnPlan,
org.joda.time.DateTime requestedDate,
InternalTenantContext context) |
int |
countExistingAddOnsWithSamePlanName(java.lang.Iterable<DefaultSubscriptionBase> subscriptionsForBundle,
java.lang.String planName) |
boolean |
isAddonAvailable(Product baseProduct,
Plan targetAddOnPlan) |
boolean |
isAddonIncluded(Product baseProduct,
Plan targetAddOnPlan) |
public void checkAddonCreationRights(SubscriptionBase baseSubscription, Plan targetAddOnPlan, org.joda.time.DateTime requestedDate, InternalTenantContext context) throws SubscriptionBaseApiException
SubscriptionBaseApiExceptionpublic int countExistingAddOnsWithSamePlanName(java.lang.Iterable<DefaultSubscriptionBase> subscriptionsForBundle, java.lang.String planName)
Copyright © 2010-2018. All Rights Reserved.