GoogleSubscriptionOption
data class GoogleSubscriptionOption( val id: String, val pricingPhases: List<PricingPhase>, val tags: List<String>, val purchasingData: PurchasingData) : SubscriptionOption, Parcelable
Content copied to clipboard
Defines an option for purchasing a Google subscription
Constructors
Link copied to clipboard
fun GoogleSubscriptionOption( id: String, pricingPhases: List<PricingPhase>, tags: List<String>, purchasingData: PurchasingData)
Content copied to clipboard
Functions
Properties
Link copied to clipboard
The free trial PricingPhase of the subscription. Looks for the first pricing phase of the SubscriptionOption where amountMicros is 0. There can be a freeTrialPhase and an introductoryPhase in the same SubscriptionOption.
Link copied to clipboard
The full price PricingPhase of the subscription. Looks for the last price phase of the SubscriptionOption.
Link copied to clipboard
The intro trial PricingPhase of the subscription. Looks for the first pricing phase of the SubscriptionOption where amountMicros is greater than 0. There can be a freeTrialPhase and an introductoryPhase in the same SubscriptionOption.