public interface Plan extends CatalogEntity
Plan| Modifier and Type | Method and Description |
|---|---|
org.joda.time.DateTime |
dateOfFirstRecurringNonZeroCharge(org.joda.time.DateTime subscriptionStartDate,
PhaseType intialPhaseType) |
PlanPhase |
findPhase(java.lang.String name) |
PlanPhase[] |
getAllPhases() |
StaticCatalog |
getCatalog() |
java.util.Date |
getEffectiveDateForExistingSubscriptions() |
PlanPhase |
getFinalPhase() |
java.util.Iterator<PlanPhase> |
getInitialPhaseIterator() |
PlanPhase[] |
getInitialPhases() |
int |
getPlansAllowedInBundle() |
java.lang.String |
getPriceListName() |
Product |
getProduct() |
BillingMode |
getRecurringBillingMode() |
BillingPeriod |
getRecurringBillingPeriod() |
getName, getPrettyNameStaticCatalog getCatalog()
BillingMode getRecurringBillingMode()
PlanPhase[] getInitialPhases()
PlanPhaseProduct getProduct()
Product associated with that Planjava.lang.String getPriceListName()
Plan is definedjava.util.Iterator<PlanPhase> getInitialPhaseIterator()
PlanPhasePlanPhase getFinalPhase()
PlanPhaseBillingPeriod getRecurringBillingPeriod()
BillingPeriodint getPlansAllowedInBundle()
PlanPlanPhase[] getAllPhases()
PlanPhasejava.util.Date getEffectiveDateForExistingSubscriptions()
PlanPlanPhase findPhase(java.lang.String name) throws CatalogApiException
name - the name of the PlanPhasePlanPhaseCatalogApiException - if there is not such PlanPhaseorg.joda.time.DateTime dateOfFirstRecurringNonZeroCharge(org.joda.time.DateTime subscriptionStartDate,
PhaseType intialPhaseType)
subscriptionStartDate - the subscriptionStartDateintialPhaseType - the type of the initial phaseCopyright © 2010-2018. All Rights Reserved.