BillingPlan
@Serializable
A Subscription Plan with its details.
Constructors
Link copied to clipboard
constructor(id: String, name: String, fee: BillingMoneyAmount? = null, annualFee: BillingMoneyAmount? = null, annualMonthlyFee: BillingMoneyAmount? = null, description: String? = null, isDefault: Boolean, isRecurring: Boolean, hasBaseFee: Boolean, forPayerType: BillingPayerResourceType = BillingPayerResourceType.UNKNOWN, publiclyVisible: Boolean, slug: String, avatarUrl: String? = null, features: List<Feature> = emptyList(), unitPrices: List<BillingPlanUnitPrice>? = null, availablePrices: List<BillingPlanPrice>? = null, freeTrialDays: Int? = null, freeTrialEnabled: Boolean = false)
Properties
Link copied to clipboard
The annual price of the Plan, or null if the Plan is not annual.
Link copied to clipboard
The effective monthly price when billed annually, or null if the Plan is not annual.
Link copied to clipboard
Prices that can be used to check out for this plan, including non-default prices.
Link copied to clipboard
A short description of what the Plan offers, or null if none is provided.
Link copied to clipboard
The monthly price of the Plan.
Link copied to clipboard
Specifies the subscriber type this Plan is designed for.
Link copied to clipboard
The number of days of the free trial for the Plan. null if the Plan does not have a free trial.
Link copied to clipboard
Whether the Plan has a free trial.
Link copied to clipboard
Whether the Plan has a base fee.
Link copied to clipboard
Whether the Plan is recurring.
Link copied to clipboard
Whether the Plan is visible to the public.
Link copied to clipboard
Per-unit pricing tiers for this Plan (for example, seats).