DeveloperProvidedBillingDetails

public final class DeveloperProvidedBillingDetails


Details around a developer-provided billing selection event.

Summary

Nested types

Details about a product being purchased.

Public methods

String

Returns a token that represents the user's prospective purchase via developer-provided billing.

String

Returns the link URI that the user should be directed to.

String

Returns the external transaction Id of the originating subscription, if the purchase is a subscription upgrade/downgrade.

List<DeveloperProvidedBillingDetails.Product>

Returns a list of Product to be purchased in the developer-provided billing flow.

Public methods

getExternalTransactionToken

public String getExternalTransactionToken()

Returns a token that represents the user's prospective purchase via developer-provided billing.

This token will be null if the billing program is EXTERNAL_PAYMENTS.

getLinkUri

public String getLinkUri()

Returns the link URI that the user should be directed to. Only set when the user should be linked out to an external website.

getOriginalExternalTransactionId

public String getOriginalExternalTransactionId()

Returns the external transaction Id of the originating subscription, if the purchase is a subscription upgrade/downgrade.

getProducts

public List<DeveloperProvidedBillingDetails.ProductgetProducts()

Returns a list of Product to be purchased in the developer-provided billing flow.