com.ning.billing.subscription.api.timeline
Class RepairSubscriptionApiService

java.lang.Object
  extended by com.ning.billing.subscription.api.user.DefaultSubscriptionBaseApiService
      extended by com.ning.billing.subscription.api.timeline.RepairSubscriptionApiService
All Implemented Interfaces:
SubscriptionBaseApiService

public class RepairSubscriptionApiService
extends DefaultSubscriptionBaseApiService
implements SubscriptionBaseApiService


Constructor Summary
RepairSubscriptionApiService(com.ning.billing.clock.Clock clock, SubscriptionDao dao, CatalogService catalogService, PlanAligner planAligner, AddonUtils addonUtils, InternalCallContextFactory internalCallContextFactory)
           
 
Method Summary
 int cancelAddOnsIfRequired(DefaultSubscriptionBase baseSubscription, org.joda.time.DateTime effectiveDate, InternalCallContext context)
           
 
Methods inherited from class com.ning.billing.subscription.api.user.DefaultSubscriptionBaseApiService
cancel, cancelWithPolicy, cancelWithRequestedDate, changePlan, changePlanWithPolicy, changePlanWithRequestedDate, createPlan, recreatePlan, uncancel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ning.billing.subscription.api.SubscriptionBaseApiService
cancel, cancelWithPolicy, cancelWithRequestedDate, changePlan, changePlanWithPolicy, changePlanWithRequestedDate, createPlan, recreatePlan, uncancel
 

Constructor Detail

RepairSubscriptionApiService

@Inject
public RepairSubscriptionApiService(com.ning.billing.clock.Clock clock,
                                           SubscriptionDao dao,
                                           CatalogService catalogService,
                                           PlanAligner planAligner,
                                           AddonUtils addonUtils,
                                           InternalCallContextFactory internalCallContextFactory)
Method Detail

cancelAddOnsIfRequired

public int cancelAddOnsIfRequired(DefaultSubscriptionBase baseSubscription,
                                  org.joda.time.DateTime effectiveDate,
                                  InternalCallContext context)
Specified by:
cancelAddOnsIfRequired in interface SubscriptionBaseApiService
Overrides:
cancelAddOnsIfRequired in class DefaultSubscriptionBaseApiService


Copyright © 2010-2013. All Rights Reserved.