billing_client_wrappers library
Classes
- AlternativeBillingOnlyReportingDetailsWrapper
 - Params containing the response code and the debug message from the Play Billing API response.
 - BillingClient
 - 
  This class can be used directly instead of 
InAppPurchaseConnectionto call Play-specific billing APIs. - BillingClientManager
 - Utility class that manages a BillingClient connection.
 - BillingResultWrapper
 - Params containing the response code and the debug message from the Play Billing API response.
 - HasBillingResponse
 - Abstraction of result of BillingClient operation that includes a BillingResponse.
 - HostBillingClientCallbackHandler
 - Implementation of InAppPurchaseCallbackApi, for use by BillingClient.
 - InstallmentPlanDetailsWrapper
 - Represents additional details of an installment subscription plan.
 - OneTimePurchaseOfferDetailsWrapper
 - 
  Dart wrapper around 
com.android.billingclient.api.ProductDetails.OneTimePurchaseOfferDetails. - PendingPurchaseUpdateWrapper
 - Represents a pending change/update to the existing purchase.
 - PricingPhaseWrapper
 - Represents a pricing phase, describing how a user pays at a point in time.
 - ProductDetailsResponseWrapper
 - 
  Translation of 
com.android.billingclient.api.ProductDetailsResponseListener. - ProductDetailsWrapper
 - 
  Dart wrapper around 
com.android.billingclient.api.ProductDetails. - ProductWrapper
 - 
  Dart wrapper around 
com.android.billingclient.api.Product. - 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.
 - SubscriptionOfferDetailsWrapper
 - 
  Dart wrapper around 
com.android.billingclient.api.ProductDetails.SubscriptionOfferDetails. - UserChoiceDetailsProductWrapper
 - Data structure representing a UserChoiceDetails product.
 - UserChoiceDetailsWrapper
 - 
  This wraps 
com.android.billingclient.api.UserChoiceDetails 
Enums
- BillingChoiceMode
 - Plugin concept to cover billing modes.
 - BillingClientFeature
 - Features/capabilities supported by BillingClient.isFeatureSupported().
 - BillingResponse
 - 
  Possible 
BillingClientresponse statuses. - ProductType
 - Enum representing potential ProductDetailsWrapper.productTypes.
 - PurchaseStateWrapper
 - Possible state of a PurchaseWrapper.
 - RecurrenceMode
 - Recurrence mode of the pricing phase.
 - ReplacementMode
 - Enum representing the replacement mode.
 
Constants
- kInvalidAlternativeBillingReportingDetailsErrorMessage → const String
 - The error message shown when the map representing details is invalid from method channel.
 - kInvalidBillingResultErrorMessage → const String
 - The error message shown when the map represents billing result is invalid from method channel.
 
Typedefs
- BillingClientFactory = BillingClient Function(PurchasesUpdatedListener onPurchasesUpdated, UserSelectedAlternativeBillingListener? alternativeBillingListener)
 - Factory for creating BillingClient instances, to allow injection of custom billing clients in tests.
 - OnBillingServiceDisconnected = void Function()
 - 
    Callback triggered when the 
BillingClientWrapperis disconnected. - PurchasesUpdatedListener = void Function(PurchasesResultWrapper purchasesResult)
 - Callback triggered by Play in response to purchase activity.
 - UserSelectedAlternativeBillingListener = void Function(UserChoiceDetailsWrapper userChoiceDetailsWrapper)
 - Wraps a UserChoiceBillingListener