API reference
API reference
Select your platform
No SDKs available
No versions available

PricingPhase

PricingPhase

data class PricingPhase(val billingCycleCount: Int, val billingPeriod: String, val formattedPrice: String, val priceAmountMicros: Long, val priceCurrencyCode: String, val recurrenceMode: Int)
Represents a pricing phase, describing how a user pays at a point in time.

Constructors

NameSummary
PricingPhase
constructor(billingCycleCount: Int, billingPeriod: String, formattedPrice: String, priceAmountMicros: Long, priceCurrencyCode: String, recurrenceMode: Int)

Properties

NameSummary
billingCycleCount
val billingCycleCount: Int
Number of cycles for which the billing period is applied.
billingPeriod
val billingPeriod: String
Billing period for which the given price applies, specified in ISO 8601 format.
formattedPrice
val formattedPrice: String
The formatted price for the payment cycle, including its currency sign.
priceAmountMicros
val priceAmountMicros: Long
The price for the payment cycle in micro-units, where 1,000,000 micro-units equal one unit of the currency.
priceCurrencyCode
val priceCurrencyCode: String
ISO 4217 currency code for price.
recurrenceMode
val recurrenceMode: Int
The RecurrenceMode for the pricing phase.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon