Skip to main content

QueryPurchasesParams.Builder (Android SDK)

Builder class used to construct the QueryPurchasesParams.


Public Methods​

build​

QueryPurchasesParams build()

Creates the QueryPurchasesParams.

Returns​

QueryPurchasesParams reference with the values injected in the Builder to define the QueryPurchasesParams.


setProductType​

QueryPurchasesParams.Builder setProductType(String productType)

Defines the productType of the Purchases to be queried for.

❗️
Important

This value is required to query for Purchases.

Parameters​

NameTypeDescription
productTypeStringThe productType of the Purchases to be queried for.

Returns​

QueryPurchasesParams.Builder reference of the Builder.