BillingPlanUnitPriceTier

@Serializable
data class BillingPlanUnitPriceTier(val id: String? = null, val startsAtBlock: Int, val endsAfterBlock: Int? = null, val feePerBlock: BillingMoneyAmount)

A single pricing tier for a unit type on a plan.

Constructors

Link copied to clipboard
constructor(id: String? = null, startsAtBlock: Int, endsAfterBlock: Int? = null, feePerBlock: BillingMoneyAmount)

Properties

Link copied to clipboard

The final block this tier applies to. null means unlimited.

Link copied to clipboard

The fee charged for each block in this tier.

Link copied to clipboard
val id: String?

The unique identifier of the unit price tier.

Link copied to clipboard

The first block number this tier applies to.