Interface PricingTier.IsDefaultStage

All Known Implementing Classes:
PricingTier.Builder
Enclosing class:
PricingTier

public static interface PricingTier.IsDefaultStage
  • Method Summary

    Modifier and Type
    Method
    Description
    isDefault(boolean isDefault)
    Whether this is the default tier.
  • Method Details

    • isDefault

      PricingTier.PriorityStage isDefault(boolean isDefault)

      Whether this is the default tier. Every model must have exactly one default tier with priority 0 and no conditions.

      The default tier serves as a fallback when no conditional tiers match, ensuring cost calculation always succeeds. It typically represents the base pricing for standard usage patterns.