# Print output for @column tags ?>
public
final
class
AlternativeChoiceDetails
extends Object
| java.lang.Object | |
| ↳ | com.android.billingclient.api.AlternativeChoiceDetails |
This class is deprecated.
Use BillingClient.Builder.enableUserChoiceBilling(UserChoiceBillingListener) with UserChoiceBillingListener and UserChoiceDetails in the listener callback instead.
Details related to a user's choice of alternative billing.
Nested classes | |
|---|---|
class |
AlternativeChoiceDetails.Product
Details about a product being purchased. |
Public methods | |
|---|---|
String
|
getExternalTransactionToken()
Returns a token that represents the user's prospective purchase via alternative billing. |
String
|
getOriginalExternalTransactionId()
Returns the external transaction Id of the originating subscription, if the purchase is a subscription upgrade/downgrade. |
List<AlternativeChoiceDetails.Product>
|
getProducts()
Returns a list of |
Inherited methods | |
|---|---|
public String getExternalTransactionToken ()
Returns a token that represents the user's prospective purchase via alternative billing.
| Returns | |
|---|---|
String |
|
public String getOriginalExternalTransactionId ()
Returns the external transaction Id of the originating subscription, if the purchase is a subscription upgrade/downgrade.
| Returns | |
|---|---|
String |
|
public List<AlternativeChoiceDetails.Product> getProducts ()
Returns a list of AlternativeChoiceDetails.Product to be purchased in the alternative billing flow.
| Returns | |
|---|---|
List<AlternativeChoiceDetails.Product> |
|