QueryPurchasesParams.Builder

public class QueryPurchasesParams.Builder 


Helps construct QueryPurchasesParams required to query purchases.

Summary

Public methods

QueryPurchasesParams

Returns an instance of QueryPurchasesParams .

QueryPurchasesParams.Builder
includeSuspendedSubscriptions(boolean includeSuspendedSubscriptions)

Set whether to include suspended subscription purchases.

QueryPurchasesParams.Builder
setProductType(String productType)

Set the ProductType to query purchases.

Public methods

build

public QueryPurchasesParams build()

Returns an instance of QueryPurchasesParams .

includeSuspendedSubscriptions

public QueryPurchasesParams.Builder includeSuspendedSubscriptions(boolean includeSuspendedSubscriptions)

Set whether to include suspended subscription purchases.

setProductType

public QueryPurchasesParams.Builder setProductType(String productType)

Set the ProductType to query purchases.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月06日 UTC.