Purchase.PurchasesResult

public static class Purchase.PurchasesResult
extends Object

java.lang.Object
   ↳ com.android.billingclient.api.Purchase.PurchasesResult


Result list and code for queryPurchases method

Summary

Public constructors

Purchase.PurchasesResult(BillingResult mBillingResult, List<Purchase> purchasesList)

Public methods

BillingResult getBillingResult()

Returns the BillingResult of the operation.

List<Purchase> getPurchasesList()

Returns the list of Purchase.

int getResponseCode()

Returns the response code of In-app Billing API calls.

Inherited methods

From class java.lang.Object

Public constructors

Purchase.PurchasesResult

Purchase.PurchasesResult (BillingResult mBillingResult, 
                List<Purchase> purchasesList)

Parameters
mBillingResult BillingResult

purchasesList List

Public methods

getBillingResult

BillingResult getBillingResult ()

Returns the BillingResult of the operation.

Returns
BillingResult

getPurchasesList

List<Purchase> getPurchasesList ()

Returns the list of Purchase.

Returns
List<Purchase>

getResponseCode

int getResponseCode ()

Returns the response code of In-app Billing API calls.

Returns
int