DonationOption

data class DonationOption(val productId: String, val formattedPrice: String?, val isEligible: Boolean)(source)

One donation tier as the support page shows it, so the page renders without Play Billing types.

Constructors

Link copied to clipboard
constructor(productId: String, formattedPrice: String?, isEligible: Boolean)

Properties

Link copied to clipboard

The price Play formatted for the user's store, or null when it has none.

Link copied to clipboard

Whether Play offers a one-time purchase for this product, which enables its button.

Link copied to clipboard