Interface Plan
-
public interface PlanA Plan knows about the billing calculations and the default quota for any tenant associated with the Plan. The Plan can also enforce transitions from one plan to another.- Author:
- ogronnesby
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CostCalculatorcalculator()The cost calculator for this planjava.lang.StringdisplayName()A string to be used for display purposesPlanIdid()Unique ID for the planbooleanisBilled()Is this a plan that is billedQuotaCalculatorquota()The quota for this plan
-
-
-
Method Detail
-
id
PlanId id()
Unique ID for the plan
-
displayName
java.lang.String displayName()
A string to be used for display purposes
-
calculator
CostCalculator calculator()
The cost calculator for this plan
-
quota
QuotaCalculator quota()
The quota for this plan
-
isBilled
boolean isBilled()
Is this a plan that is billed
-
-