QueryPurchaseHistoryParams.Builder

public static class QueryPurchaseHistoryParams.Builder
extends Object

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

Helps construct QueryPurchaseHistoryParams required to query purchase history.

Summary

Public methods

QueryPurchaseHistoryParams build()

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

QueryPurchaseHistoryParams.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 QueryPurchaseHistoryParams build ()
Included in documentation by the annotations: @Annotations.ProductDetails

Returns an instance of QueryPurchaseHistoryParams.

Returns
QueryPurchaseHistoryParams

setProductType

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

Set the BillingClient.ProductType to query purchases.

Parameters
productType String

Returns
QueryPurchaseHistoryParams.Builder