Interface Plan
-
public interface PlanA Plan decides two different things: - How to map from usage to a sum of money that is owed. - Limits on how much resources can be used.- Author:
- ogronnesby
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CostCalculatorcalculator()The calculator used to calculate a bill for usagejava.lang.Stringid()The ID of the plan as used in APIs and storage systemsjava.lang.Objectquota()The quota limits associated with the plan
-
-
-
Method Detail
-
id
java.lang.String id()
The ID of the plan as used in APIs and storage systems
-
calculator
CostCalculator calculator()
The calculator used to calculate a bill for usage
-
quota
java.lang.Object quota()
The quota limits associated with the plan
-
-