Skip to main content

QueryPurchasesParams.Builder (Unity 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.