Package-level declarations
Types
Link copied to clipboard
data class ListSubscriptionPhaseResponse(val phases: List<SubscriptionPhase>?, val meta: MetaSubscriptionPhaseResponse?)
Response returned when listing all phases for a subscription.
Link copied to clipboard
Metadata included in a list subscription phases response.
Link copied to clipboard
Specifies how long a subscription phase runs.
Link copied to clipboard
Specifies how the price of a subscription phase is calculated.
Link copied to clipboard
data class SubscriptionPhase(val id: String?, val ordinal: Int?, val name: String?, val pricingType: PhasePricingType?, val durationType: PhaseDurationType?, val amount: Int?, val currency: String?, val discountPercentage: Float?, val periodCount: Int?, val interval: String?, val intervalCount: Int?, val livemode: Boolean?, val created: Int?, val updated: Int?, val phaseObject: String?)
Represents a single billing phase within a subscription.
Link copied to clipboard
Defines all API endpoints for subscription phase operations.
Link copied to clipboard
object SubscriptionPhaseRequest
Namespace for request bodies used with the subscription phases API.
Link copied to clipboard
object SubscriptionPhasesAPI
Provides suspend and callback-based operations for managing subscription phases.