QueryPurchasesParams.Builder

public static class QueryPurchasesParams.Builder
extends Object

java.lang.Object
   ↳ com.android.billingclient.api.QueryPurchasesParams.Builder
Included in documentation by the annotations: @Annotations.ProductDetails

Helps construct QueryPurchasesParams required to query purchases.

Summary

Public methods

QueryPurchasesParams build()

Returns an instance of QueryPurchasesParams. Included in documentation by the annotations: @Annotations.ProductDetails

QueryPurchasesParams.Builder setProductType(String productType)

Set the BillingClient.ProductType to query purchases. Included in documentation by the annotations: @Annotations.ProductDetails

Inherited methods

Public methods

build

public QueryPurchasesParams build ()
Included in documentation by the annotations: @Annotations.ProductDetails

Returns an instance of QueryPurchasesParams.

Returns
QueryPurchasesParams

setProductType

public QueryPurchasesParams.Builder setProductType (String productType)
Included in documentation by the annotations: @Annotations.ProductDetails

Set the BillingClient.ProductType to query purchases.

Parameters
productType String

Returns
QueryPurchasesParams.Builder