AlternativeChoiceDetails

public final class AlternativeChoiceDetails


Details related to a user's choice of alternative billing.

Summary

Nested types

Details about a product being purchased.

Public methods

String

Returns a token that represents the user's prospective purchase via alternative billing.

String

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

List<AlternativeChoiceDetails.Product>

Returns a list of Product to be purchased in the alternative billing flow.

Public methods

getExternalTransactionToken

public String getExternalTransactionToken()

Returns a token that represents the user's prospective purchase via alternative billing.

getOriginalExternalTransactionId

public String getOriginalExternalTransactionId()

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

getProducts

public List<AlternativeChoiceDetails.ProductgetProducts()

Returns a list of Product to be purchased in the alternative billing flow.