Update Subscription Phase Request
data class UpdateSubscriptionPhaseRequest(val ordinal: Int? = null, val pricingType: PhasePricingType? = null, val durationType: PhaseDurationType? = null, val name: String? = null, val amountCents: Int? = null, val discountPercentage: Float? = null, val periodCount: Int? = null, val interval: String? = null, val intervalCount: Int? = null)
Request body for partially updating an existing subscription phase.
Only non-null fields are sent to the API; omitted fields remain unchanged.
Constructors
Link copied to clipboard
constructor(ordinal: Int? = null, pricingType: PhasePricingType? = null, durationType: PhaseDurationType? = null, name: String? = null, amountCents: Int? = null, discountPercentage: Float? = null, periodCount: Int? = null, interval: String? = null, intervalCount: Int? = null)
Properties
Link copied to clipboard
Updated billed amount in the smallest currency unit.
Link copied to clipboard
Updated percentage discount for the phase.
Link copied to clipboard
Updated duration type for the phase.
Link copied to clipboard
Updated number of interval units between billing cycles.
Link copied to clipboard
Updated number of billing periods for a finite phase.
Link copied to clipboard
Updated pricing strategy for the phase.