com.android.billingclient.api
Annotations
BillingClient.BillingProgram
Possible billing programs.
BillingClient.BillingResponseCode
Possible response codes.
BillingClient.ConnectionState
Connection state of billing client.
BillingClient.FeatureType
Features/capabilities supported by isFeatureSupported .
BillingClient.OnPurchasesUpdatedSubResponseCode
Sub response codes further qualifying errors returned in onPurchasesUpdated .
BillingClient.ProductType
Supported Product types.
BillingFlowParams.ProductDetailsParams.SubscriptionProductReplacementParams.ReplacementMode
Supported replacement modes to replace an existing product with a new one.
BillingFlowParams.SubscriptionUpdateParams.ReplacementMode
Supported replacement modes to replace an existing subscription with a new one.
DeveloperBillingOptionParams.LaunchMode
The launch mode for a developer-provided billing option.
InAppMessageParams.InAppMessageCategoryId
A high-level category of the in-app message.
InAppMessageResult.InAppMessageResponseCode
Possible response codes.
LaunchExternalLinkParams.LaunchMode
The mode in which the external link flow should be launched.
LaunchExternalLinkParams.LinkType
The type of the external link.
ProductDetails.RecurrenceMode
Recurrence mode of the pricing phase.
Purchase.PurchaseState
Possible purchase states.
UnfetchedProduct.StatusCode
Possible Status codes.
Interfaces
AcknowledgePurchaseResponseListener
Listener for the result of an acknowledge purchase request.
AlternativeBillingOnlyAvailabilityListener
Listener for the result of the BillingClient#isAlternativeBillingOnlyAvailableAsync API.
AlternativeBillingOnlyInformationDialogListener
Listener for the result of the BillingClient#showAlternativeBillingOnlyInformationDialog API.
AlternativeBillingOnlyReportingDetailsListener
Listener for the result of the createAlternativeBillingOnlyReportingDetailsAsync API.
BillingClientStateListener
Callback for setup process.
BillingConfigResponseListener
Listener for the result of the BillingClient#getBillingConfigAsync API.
BillingProgramAvailabilityListener
Listener for the result of the BillingClient#isBillingProgramAvailableAsync API.
BillingProgramReportingDetailsListener
Listener for the result of the BillingClient#createBillingProgramReportingDetailsAsync API.
ConsumeResponseListener
Callback that notifies when a consumption operation finishes.
DeveloperProvidedBillingListener
Interface for listening to developer-provided billing events.
ExternalOfferAvailabilityListener
This interface is deprecated.
Use BillingClient#isBillingProgramAvailableAsync with BillingProgramAvailabilityListener instead.
ExternalOfferInformationDialogListener
This interface is deprecated.
Use BillingClient#launchExternalLink with LaunchExternalLinkResponseListener instead.
ExternalOfferReportingDetailsListener
This interface is deprecated.
Use BillingClient#createBillingProgramReportingDetailsAsync with BillingProgramReportingDetailsListener instead.
InAppMessageResponseListener
Listener for the result of the in-app messaging flow.
LaunchExternalLinkResponseListener
Listener for the result of the BillingClient#launchExternalLink API.
ProductDetailsResponseListener
Listener to a result of product details query.
PurchaseHistoryResponseListener
Listener to a result of purchase history query.
PurchasesResponseListener
Listener to a result of purchases query.
PurchasesUpdatedListener
Listener interface for purchase updates which happen when, for example, the user buys something within the app or by initiating a purchase from Google Play Store.
UserChoiceBillingListener
Listener interface for the developer-managed alternative billing flow, when it is chosen by the user when initiating a purchase.
Classes
AccountIdentifiers
Account identifiers that were specified when the purchase was made.
AcknowledgePurchaseParams
Parameters to acknowledge a purchase.
AcknowledgePurchaseParams.Builder
Helps construct AcknowledgePurchaseParams that are used to acknowledge a purchase.
AlternativeBillingOnlyReportingDetails
The details used to report transactions made via alternative billing without user choice to use Google Play billing.
BillingClient
Main interface for communication between the library and user application code.
BillingClient.Builder
Builder to configure and create a BillingClient instance.
BillingConfig
BillingConfig stores configuration used to perform billing operations.
BillingFlowParams
Parameters to initiate a purchase flow.
BillingFlowParams.Builder
Helps to construct BillingFlowParams that are used to initiate a purchase flow.
BillingFlowParams.ProductDetailsParams
Params that describe the product to be purchased and the offer to purchase with.
BillingFlowParams.ProductDetailsParams.Builder
Helps to construct a ProductDetailsParams .
BillingFlowParams.ProductDetailsParams.SubscriptionProductReplacementParams
Params that describe a subscription product replacement behavior.
BillingFlowParams.ProductDetailsParams.SubscriptionProductReplacementParams.Builder
Helps to construct ReplacementParams.
BillingFlowParams.SubscriptionUpdateParams
Params that describe a subscription update.
BillingFlowParams.SubscriptionUpdateParams.Builder
Helps to construct SubscriptionUpdateParams .
BillingProgramAvailabilityDetails
The details about the availability of a billing program.
BillingProgramReportingDetails
The details used to report transactions made outside of Google Play Billing.
BillingProgramReportingDetailsParams
Parameters to create reporting details for the createBillingProgramReportingDetailsAsync API.
BillingResult
Params containing the response code and the debug message from In-app Billing API response.
BillingResult.Builder
Helps to construct BillingResult that are used to return response from In-app Billing API.
ConsumeParams
Parameters to consume a purchase.
ConsumeParams.Builder
Helps construct ConsumeParams that are used to consume a purchase.
DeveloperBillingOptionParams
Parameters for enabling a developer-provided billing option for a purchase.
DeveloperBillingOptionParams.Builder
Helps construct DeveloperBillingOptionParams that are used to initialize the developer-provided billing option.
DeveloperProvidedBillingDetails
Details around a developer-provided billing selection event.
DeveloperProvidedBillingDetails.Product
Details about a product being purchased.
EnableBillingProgramParams
Params to enable a billing program.
EnableBillingProgramParams.Builder
Builder for EnableBillingProgramParams .
ExternalOfferReportingDetails
The details used to report transactions made via external offer.
GetBillingConfigParams
Parameters for get billing config flow BillingClient#getBillingConfigAsync .
GetBillingConfigParams.Builder
Helps construct GetBillingConfigParams .
InAppMessageParams
Parameters for in-app messaging.
InAppMessageParams.Builder
Helps construct InAppMessageParams .
InAppMessageResult
Results related to in-app messaging.
LaunchExternalLinkParams
Parameters to initiate the launching a link outside of the app.
LaunchExternalLinkParams.Builder
Helps construct LaunchExternalLinkParams that are used to initiate the installation of an external app.
PendingPurchasesParams
Parameters to enable pending purchases.
PendingPurchasesParams.Builder
Helps construct PendingPurchasesParams that are used to enable pending purchases.
ProductDetails
Represents the details of a one time or subscription product.
ProductDetails.InstallmentPlanDetails
Represents additional details of an installment subscription plan.
ProductDetails.OneTimePurchaseOfferDetails
Represents the offer details to buy an one-time purchase product.
ProductDetails.OneTimePurchaseOfferDetails.DiscountDisplayInfo
Represents discount display information about a discounted one-time product offer.
ProductDetails.OneTimePurchaseOfferDetails.DiscountDisplayInfo.DiscountAmount
Represents a discount amount.
ProductDetails.OneTimePurchaseOfferDetails.LimitedQuantityInfo
Represents the limited quantity information.
ProductDetails.OneTimePurchaseOfferDetails.PreorderDetails
Represents the preorder details about preorder offers.
ProductDetails.OneTimePurchaseOfferDetails.RentalDetails
Represents the rental details about rental offers.
ProductDetails.OneTimePurchaseOfferDetails.ValidTimeWindow
Represents offer valid time window for which users are eligible for a one-time product offer.
ProductDetails.PricingPhase
Represents a pricing phase, describing how a user pays at a point in time.
ProductDetails.PricingPhases
Pricing phases for purchasing an item through a offer.
ProductDetails.SubscriptionOfferDetails
Represents the available purchase plans to buy a subscription product.
Purchase
Represents an in-app billing purchase.
Purchase.PendingPurchaseUpdate
Represents a pending change/update to the existing purchase.
PurchaseHistoryRecord
Represents an in-app billing purchase history record.
QueryProductDetailsParams
Parameters to initiate a query for Product details queryProductDetailsAsync .
QueryProductDetailsParams.Builder
Helps construct QueryProductDetailsParams required to query ProductDetails .
QueryProductDetailsParams.Product
A Product identifier used for querying product details.
QueryProductDetailsParams.Product.Builder
Builder that helps construct Product .
QueryProductDetailsResult
The product details query result.
QueryPurchasesParams
Parameters to initiate a query for purchases.
QueryPurchasesParams.Builder
Helps construct QueryPurchasesParams required to query purchases.
UnfetchedProduct
Represents a product that was unable to be fetched.
UserChoiceDetails
Details related to a user's choice of alternative billing.
UserChoiceDetails.Product
Details about a product being purchased.