API reference

QueryPurchasesParams Class

Modifiers: final
Parameters to initiate a query for purchases.
The equivalent Google Play Billing Library class can be found at the Android developer documentation for QueryPurchasesParams.

Signature

data class QueryPurchasesParams(val productType: String)

Constructors

QueryPurchasesParams ( productType )
Signature
constructor(productType: String)
Parameters
productType: String

Properties

productType : String
[Get]
Signature
val productType: String

Companion Object

Companion Object Functions

newBuilder ()
Constructs a new QueryPurchasesParams.Builder instance.
Signature
fun newBuilder(): QueryPurchasesParams.Builder
Returns
QueryPurchasesParams.Builder

Inner Class

Builder Class

Modifiers: final

Signature

class Builder

Functions

build ()
Returns an instance of QueryPurchasesParams.
Signature
fun build(): QueryPurchasesParams
setProductType ( productType )
Set the BillingClient.ProductType to query purchases.
Signature
fun setProductType(productType: String): QueryPurchasesParams.Builder
Parameters
productType: String
Returns
QueryPurchasesParams.Builder
Did you find this page helpful?