AlternativeBillingOnlyReportingDetailsListener

public interface AlternativeBillingOnlyReportingDetailsListener


Listener for the result of the createAlternativeBillingOnlyReportingDetailsAsync API.

Summary

Public methods

abstract void
onAlternativeBillingOnlyTokenResponse(
    BillingResult billingResult,
    AlternativeBillingOnlyReportingDetails alternativeBillingOnlyReportingDetails
)

Called to receive the results from createAlternativeBillingOnlyReportingDetailsAsync when it is finished.

Public methods

onAlternativeBillingOnlyTokenResponse

abstract void onAlternativeBillingOnlyTokenResponse(
    BillingResult billingResult,
    AlternativeBillingOnlyReportingDetails alternativeBillingOnlyReportingDetails
)

Called to receive the results from createAlternativeBillingOnlyReportingDetailsAsync when it is finished.

Parameters
BillingResult billingResult

The billing result of the alternative billing only reporting details creation flow.

AlternativeBillingOnlyReportingDetails alternativeBillingOnlyReportingDetails

The alternative billing only purchase details which may be used for reporting. This is null when billingResult response code is not BillingClient.BillingResponseCode#OK.