StorePurchaseOption

data class StorePurchaseOption(val option: PurchaseOption, val title: String, val description: String, val formattedPrice: String, val pricingPhases: List<PurchasePricingPhase>, val kind: ProductKind)

A purchase option currently available from the store, with its price.

Constructors

Link copied to clipboard
constructor(option: PurchaseOption, title: String, description: String, formattedPrice: String, pricingPhases: List<PurchasePricingPhase>, kind: ProductKind)

Properties

Link copied to clipboard

The ISO 8601 billing period of the last pricing phase, or null for one-time products.

Link copied to clipboard

The product description from the store or configuration.

Link copied to clipboard

The price formatted by Google Play for the customer's locale.

Link copied to clipboard

The stable purchase option identifier.

Link copied to clipboard

Whether the product is a subscription or a non-consumable product.

Link copied to clipboard

The selected product, base plan, and offer.

Link copied to clipboard

The pricing phases, including free trials and introductory prices.

Link copied to clipboard

The product title from the store or configuration.