| Modifier and Type | Method and Description |
|---|---|
TimedPhase[] |
PlanAligner.getCurrentAndNextTimedPhaseOnCreate(DefaultSubscriptionBase subscription,
Plan plan,
PhaseType initialPhase,
String priceList,
org.joda.time.DateTime requestedDate,
org.joda.time.DateTime effectiveDate)
Returns the current and next phase for the subscription in creation
|
TimedPhase |
PlanAligner.getCurrentTimedPhaseOnChange(DefaultSubscriptionBase subscription,
Plan plan,
String priceList,
org.joda.time.DateTime requestedDate,
org.joda.time.DateTime effectiveDate)
Returns current Phase for that Plan change
|
TimedPhase |
PlanAligner.getNextTimedPhase(DefaultSubscriptionBase subscription,
org.joda.time.DateTime requestedDate,
org.joda.time.DateTime effectiveDate)
Returns next Phase for that SubscriptionBase at a point in time
|
TimedPhase |
PlanAligner.getNextTimedPhaseOnChange(DefaultSubscriptionBase subscription,
Plan plan,
String priceList,
org.joda.time.DateTime requestedDate,
org.joda.time.DateTime effectiveDate)
Returns next Phase for that Plan change
|
| Modifier and Type | Method and Description |
|---|---|
DefaultSubscriptionBase |
SubscriptionBaseApiService.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) |
protected DefaultSubscriptionBase |
SubscriptionApiBase.createSubscriptionForApiUse(SubscriptionBase internalSubscription) |
protected DefaultSubscriptionBase |
SubscriptionApiBase.createSubscriptionForApiUse(SubscriptionBuilder builder,
List<SubscriptionBaseEvent> events) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SubscriptionBaseApiService.cancel(DefaultSubscriptionBase subscription,
CallContext context) |
int |
SubscriptionBaseApiService.cancelAddOnsIfRequired(DefaultSubscriptionBase baseSubscription,
org.joda.time.DateTime effectiveDate,
InternalCallContext context) |
boolean |
SubscriptionBaseApiService.cancelWithPolicy(DefaultSubscriptionBase subscription,
BillingActionPolicy policy,
CallContext context) |
boolean |
SubscriptionBaseApiService.cancelWithRequestedDate(DefaultSubscriptionBase subscription,
org.joda.time.DateTime requestedDate,
CallContext context) |
boolean |
SubscriptionBaseApiService.changePlan(DefaultSubscriptionBase subscription,
String productName,
BillingPeriod term,
String priceList,
CallContext context) |
boolean |
SubscriptionBaseApiService.changePlanWithPolicy(DefaultSubscriptionBase subscription,
String productName,
BillingPeriod term,
String priceList,
BillingActionPolicy policy,
CallContext context) |
boolean |
SubscriptionBaseApiService.changePlanWithRequestedDate(DefaultSubscriptionBase subscription,
String productName,
BillingPeriod term,
String priceList,
org.joda.time.DateTime requestedDate,
CallContext context) |
boolean |
SubscriptionBaseApiService.recreatePlan(DefaultSubscriptionBase subscription,
PlanPhaseSpecifier spec,
org.joda.time.DateTime requestedDateWithMs,
CallContext context)
Deprecated.
|
boolean |
SubscriptionBaseApiService.uncancel(DefaultSubscriptionBase subscription,
CallContext context) |
| Modifier and Type | Method and Description |
|---|---|
DefaultSubscriptionBase |
AccountMigrationData.SubscriptionMigrationData.getData() |
| Constructor and Description |
|---|
AccountMigrationData.SubscriptionMigrationData(DefaultSubscriptionBase data,
List<SubscriptionBaseEvent> initialEvents,
org.joda.time.DateTime ctd) |
| Modifier and Type | Class and Description |
|---|---|
class |
SubscriptionDataRepair |
| Modifier and Type | Method and Description |
|---|---|
int |
RepairSubscriptionApiService.cancelAddOnsIfRequired(DefaultSubscriptionBase baseSubscription,
org.joda.time.DateTime effectiveDate,
InternalCallContext context) |
| Constructor and Description |
|---|
SubscriptionDataRepair(DefaultSubscriptionBase defaultSubscriptionBase,
SubscriptionBaseApiService apiService,
SubscriptionDao dao,
com.ning.billing.clock.Clock clock,
AddonUtils addonUtils,
CatalogService catalogService,
InternalCallContextFactory internalCallContextFactory) |
| Modifier and Type | Method and Description |
|---|---|
DefaultSubscriptionBase |
TransferCancelData.getSubscription() |
| Constructor and Description |
|---|
TransferCancelData(DefaultSubscriptionBase subscription,
SubscriptionBaseEvent cancelEvent) |
| Modifier and Type | Method and Description |
|---|---|
DefaultSubscriptionBase |
DefaultSubscriptionBaseApiService.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) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DefaultSubscriptionBaseApiService.cancel(DefaultSubscriptionBase subscription,
CallContext context) |
int |
DefaultSubscriptionBaseApiService.cancelAddOnsIfRequired(DefaultSubscriptionBase baseSubscription,
org.joda.time.DateTime effectiveDate,
InternalCallContext context) |
boolean |
DefaultSubscriptionBaseApiService.cancelWithPolicy(DefaultSubscriptionBase subscription,
BillingActionPolicy policy,
CallContext context) |
boolean |
DefaultSubscriptionBaseApiService.cancelWithRequestedDate(DefaultSubscriptionBase subscription,
org.joda.time.DateTime requestedDateWithMs,
CallContext context) |
boolean |
DefaultSubscriptionBaseApiService.changePlan(DefaultSubscriptionBase subscription,
String productName,
BillingPeriod term,
String priceList,
CallContext context) |
boolean |
DefaultSubscriptionBaseApiService.changePlanWithPolicy(DefaultSubscriptionBase subscription,
String productName,
BillingPeriod term,
String priceList,
BillingActionPolicy policy,
CallContext context) |
boolean |
DefaultSubscriptionBaseApiService.changePlanWithRequestedDate(DefaultSubscriptionBase subscription,
String productName,
BillingPeriod term,
String priceList,
org.joda.time.DateTime requestedDateWithMs,
CallContext context) |
boolean |
DefaultSubscriptionBaseApiService.recreatePlan(DefaultSubscriptionBase subscription,
PlanPhaseSpecifier spec,
org.joda.time.DateTime requestedDateWithMs,
CallContext context)
Deprecated.
|
boolean |
DefaultSubscriptionBaseApiService.uncancel(DefaultSubscriptionBase subscription,
CallContext context) |
| Constructor and Description |
|---|
DefaultRequestedSubscriptionEvent(DefaultSubscriptionBase subscription,
SubscriptionBaseEvent nextEvent,
Long searchKey1,
Long searchKey2,
UUID userToken) |
DefaultSubscriptionBase(DefaultSubscriptionBase internalSubscription,
SubscriptionBaseApiService apiService,
com.ning.billing.clock.Clock clock) |
SubscriptionBuilder(DefaultSubscriptionBase original) |
| Modifier and Type | Method and Description |
|---|---|
void |
AddonUtils.checkAddonCreationRights(DefaultSubscriptionBase baseSubscription,
Plan targetAddOnPlan) |
| Modifier and Type | Method and Description |
|---|---|
void |
SubscriptionDao.cancelSubscriptions(List<DefaultSubscriptionBase> subscriptions,
List<SubscriptionBaseEvent> cancelEvents,
InternalCallContext context) |
void |
RepairSubscriptionDao.cancelSubscriptions(List<DefaultSubscriptionBase> subscriptions,
List<SubscriptionBaseEvent> cancelEvents,
InternalCallContext context) |
void |
DefaultSubscriptionDao.cancelSubscriptions(List<DefaultSubscriptionBase> subscriptions,
List<SubscriptionBaseEvent> cancelEvents,
InternalCallContext context) |
| Constructor and Description |
|---|
SubscriptionModelDao(DefaultSubscriptionBase src) |
| Modifier and Type | Method and Description |
|---|---|
static PhaseEvent |
PhaseEventData.createNextPhaseEvent(String phaseName,
DefaultSubscriptionBase subscription,
org.joda.time.DateTime now,
org.joda.time.DateTime effectiveDate) |
Copyright © 2010-2013. All Rights Reserved.