| Methods in com.ning.billing.subscription.alignment that return TimedPhase |
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 |