com.ning.billing.subscription.api
Interface SubscriptionBaseApiService
- All Known Implementing Classes:
- DefaultSubscriptionBaseApiService, RepairSubscriptionApiService
public interface SubscriptionBaseApiService
|
Method Summary |
boolean |
cancel(DefaultSubscriptionBase subscription,
CallContext context)
|
int |
cancelAddOnsIfRequired(DefaultSubscriptionBase baseSubscription,
org.joda.time.DateTime effectiveDate,
InternalCallContext context)
|
boolean |
cancelWithPolicy(DefaultSubscriptionBase subscription,
BillingActionPolicy policy,
CallContext context)
|
boolean |
cancelWithRequestedDate(DefaultSubscriptionBase subscription,
org.joda.time.DateTime requestedDate,
CallContext context)
|
boolean |
changePlan(DefaultSubscriptionBase subscription,
String productName,
BillingPeriod term,
String priceList,
CallContext context)
|
boolean |
changePlanWithPolicy(DefaultSubscriptionBase subscription,
String productName,
BillingPeriod term,
String priceList,
BillingActionPolicy policy,
CallContext context)
|
boolean |
changePlanWithRequestedDate(DefaultSubscriptionBase subscription,
String productName,
BillingPeriod term,
String priceList,
org.joda.time.DateTime requestedDate,
CallContext context)
|
DefaultSubscriptionBase |
createPlan(SubscriptionBuilder builder,
Plan plan,
PhaseType initialPhase,
String realPriceList,
org.joda.time.DateTime requestedDate,
org.joda.time.DateTime effectiveDate,
org.joda.time.DateTime processedDate,
CallContext context)
|
boolean |
recreatePlan(DefaultSubscriptionBase subscription,
PlanPhaseSpecifier spec,
org.joda.time.DateTime requestedDateWithMs,
CallContext context)
Deprecated. |
boolean |
uncancel(DefaultSubscriptionBase subscription,
CallContext context)
|
createPlan
DefaultSubscriptionBase createPlan(SubscriptionBuilder builder,
Plan plan,
PhaseType initialPhase,
String realPriceList,
org.joda.time.DateTime requestedDate,
org.joda.time.DateTime effectiveDate,
org.joda.time.DateTime processedDate,
CallContext context)
throws SubscriptionBaseApiException
- Throws:
SubscriptionBaseApiException
recreatePlan
@Deprecated
boolean recreatePlan(DefaultSubscriptionBase subscription,
PlanPhaseSpecifier spec,
org.joda.time.DateTime requestedDateWithMs,
CallContext context)
throws SubscriptionBaseApiException
- Deprecated.
- Throws:
SubscriptionBaseApiException
cancel
boolean cancel(DefaultSubscriptionBase subscription,
CallContext context)
throws SubscriptionBaseApiException
- Throws:
SubscriptionBaseApiException
cancelWithRequestedDate
boolean cancelWithRequestedDate(DefaultSubscriptionBase subscription,
org.joda.time.DateTime requestedDate,
CallContext context)
throws SubscriptionBaseApiException
- Throws:
SubscriptionBaseApiException
cancelWithPolicy
boolean cancelWithPolicy(DefaultSubscriptionBase subscription,
BillingActionPolicy policy,
CallContext context)
throws SubscriptionBaseApiException
- Throws:
SubscriptionBaseApiException
uncancel
boolean uncancel(DefaultSubscriptionBase subscription,
CallContext context)
throws SubscriptionBaseApiException
- Throws:
SubscriptionBaseApiException
changePlan
boolean changePlan(DefaultSubscriptionBase subscription,
String productName,
BillingPeriod term,
String priceList,
CallContext context)
throws SubscriptionBaseApiException
- Throws:
SubscriptionBaseApiException
changePlanWithRequestedDate
boolean changePlanWithRequestedDate(DefaultSubscriptionBase subscription,
String productName,
BillingPeriod term,
String priceList,
org.joda.time.DateTime requestedDate,
CallContext context)
throws SubscriptionBaseApiException
- Throws:
SubscriptionBaseApiException
changePlanWithPolicy
boolean changePlanWithPolicy(DefaultSubscriptionBase subscription,
String productName,
BillingPeriod term,
String priceList,
BillingActionPolicy policy,
CallContext context)
throws SubscriptionBaseApiException
- Throws:
SubscriptionBaseApiException
cancelAddOnsIfRequired
int cancelAddOnsIfRequired(DefaultSubscriptionBase baseSubscription,
org.joda.time.DateTime effectiveDate,
InternalCallContext context)
Copyright © 2010-2013. All Rights Reserved.