Package org.killbill.billing.catalog.api
Interface PlanPhase
-
- All Superinterfaces:
CatalogEntity
public interface PlanPhase extends CatalogEntity
The interfacePlanPhaseis used to express the various phases available on a givenPlan- See Also:
Plan
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancompliesWithLimits(String unit, BigDecimal value)StaticCataloggetCatalog()DurationgetDuration()FixedgetFixed()PhaseTypegetPhaseType()RecurringgetRecurring()Usage[]getUsages()-
Methods inherited from interface org.killbill.billing.catalog.api.CatalogEntity
getName, getPrettyName
-
-
-
-
Method Detail
-
getCatalog
StaticCatalog getCatalog()
-
getFixed
Fixed getFixed()
- Returns:
- the
Fixedsection
-
getRecurring
Recurring getRecurring()
- Returns:
- the
Recurringsection
-
getUsages
Usage[] getUsages()
- Returns:
- the
Usagesection
-
getDuration
Duration getDuration()
- Returns:
- the duration of that
PlanPhase
-
getPhaseType
PhaseType getPhaseType()
- Returns:
- the
PhaseType
-
compliesWithLimits
boolean compliesWithLimits(String unit, BigDecimal value)
- Returns:
- compliance boolean
-
-