Interface PlanPhase

  • All Superinterfaces:
    CatalogEntity

    public interface PlanPhase
    extends CatalogEntity
    The interface PlanPhase is used to express the various phases available on a given Plan
    See Also:
    Plan
    • Method Detail

      • getFixed

        Fixed getFixed()
        Returns:
        the Fixed section
      • getRecurring

        Recurring getRecurring()
        Returns:
        the Recurring section
      • getUsages

        Usage[] getUsages()
        Returns:
        the Usage section
      • 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