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(int responseCode, List<Purchase> purchasesList)

Public methods

List<Purchase> getPurchasesList()

Returns the list of Purchase.

int getResponseCode()

Returns the response code of the operation.

Inherited methods

From class java.lang.Object

Public constructors

Purchase.PurchasesResult

Purchase.PurchasesResult (int responseCode, 
                List<Purchase> purchasesList)

Parameters
responseCode int

purchasesList List

Public methods

getPurchasesList

List<Purchase> getPurchasesList ()

Returns the list of Purchase.

Returns
List<Purchase>

getResponseCode

int getResponseCode ()

Returns the response code of the operation.

Returns
int