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

UserChoiceDetails

Updated: May 13, 2025

UserChoiceDetails

data class UserChoiceDetails(val externalTransactionId: String, val originalExternalTransactionId: String, val products: List<UserChoiceDetails.Product>)
Details related to a user’s choice of alternative billing.
The equivalent Google Play Billing Library class can be found at the Android developer documentation for UserChoiceDetails.

Constructors

NameSummary
UserChoiceDetails
constructor(externalTransactionId: String, originalExternalTransactionId: String, products: List<UserChoiceDetails.Product>)

Types

NameSummary
data class Product(val id: String, val offerToken: String, val type: String)

Properties

NameSummary
externalTransactionId
val externalTransactionId: String
A token that represents the user’s prospective purchase via user choice alternative billing.
originalExternalTransactionId
val originalExternalTransactionId: String
The external transaction Id of the originating subscription, if the purchase is a subscription upgrade/downgrade.
products
val products: List<UserChoiceDetails.Product>
A list of Product to be purchased in the user choice alternative billing flow.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon