# QueryPurchasesParams


```
public final class QueryPurchasesParams
```

<br />

*** ** * ** ***

Parameters to initiate a query for purchases.

## Summary

| ### Nested types |
|---|
| `public class https://developer.android.com/reference/com/android/billingclient/api/QueryPurchasesParams.Builder` Helps construct `https://developer.android.com/reference/com/android/billingclient/api/QueryPurchasesParams` required to query purchases. |

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/com/android/billingclient/api/QueryPurchasesParams#getIncludeSuspendedSubscriptions()()` Returns whether to include suspended subscription purchases. |
| `static https://developer.android.com/reference/com/android/billingclient/api/QueryPurchasesParams.Builder` | `https://developer.android.com/reference/com/android/billingclient/api/QueryPurchasesParams#newBuilder()()` Constructs a new `https://developer.android.com/reference/com/android/billingclient/api/QueryPurchasesParams.Builder` instance. |

## Public methods

### getIncludeSuspendedSubscriptions

```
public boolean getIncludeSuspendedSubscriptions()
```

Returns whether to include suspended subscription purchases.

### newBuilder

```
public static QueryPurchasesParams.Builder newBuilder()
```

Constructs a new `https://developer.android.com/reference/com/android/billingclient/api/QueryPurchasesParams.Builder` instance.