Interface PricingTierInput.IsDefaultStage

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

public static interface PricingTierInput.IsDefaultStage
  • Method Details

    • isDefault

      PricingTierInput.PriorityStage isDefault(boolean isDefault)

      Whether this is the default tier. Exactly one tier per model must be marked as default.

      Requirements for default tier:

      • Must have isDefault=true
      • Must have priority=0
      • Must have empty conditions array (conditions=[])

      The default tier acts as a fallback when no conditional tiers match.