billing_client_wrappers library

Classes

BillingClient
This class can be used directly instead of InAppPurchaseConnection to call Play-specific billing APIs. [...]
BillingResultWrapper
Params containing the response code and the debug message from the Play Billing API response.
PurchaseHistoryRecordWrapper
Data structure representing a purchase history record. [...]
PurchasesHistoryResult
A data struct representing the result of a purchase history. [...]
PurchasesResultWrapper
A data struct representing the result of a transaction. [...]
PurchaseWrapper
Data structure representing a successful purchase. [...]
SkuDetailsResponseWrapper
Translation of com.android.billingclient.api.SkuDetailsResponseListener. [...]
SkuDetailsWrapper
Dart wrapper around com.android.billingclient.api.SkuDetails. [...]

Constants

kOnPurchasesUpdated → const String
@visibleForTesting
'PurchasesUpdatedListener#onPurchasesUpdated(int, List<Purchase>)'

Enums

BillingResponse
Possible BillingClient response statuses. [...]
PurchaseStateWrapper
Possible state of a PurchaseWrapper. [...]
SkuType
Enum representing potential SkuDetailsWrapper.types. [...]

Typedefs

OnBillingServiceDisconnected() → void
Callback triggered when the BillingClientWrapper is disconnected. [...]
PurchasesUpdatedListener(PurchasesResultWrapper purchasesResult) → void
Callback triggered by Play in response to purchase activity. [...]