# google::play::billing::BillingClientParams


`#include <billing/models.h>`

Params for constructing a [BillingClient](https://developer.android.com/games/playgames/native-pc/reference/class/google/play/billing/billing-client#classgoogle_1_1play_1_1billing_1_1_billing_client).

## Summary

| ### Public attributes ||
|---|---|
| `https://developer.android.com/games/playgames/native-pc/reference/struct/google/play/billing/billing-client-params#structgoogle_1_1play_1_1billing_1_1_billing_client_params_1a03ce704ed654a67ed287270daf658520 = false` | `bool` Enables pending purchase for one-time products. |

## Public attributes

### enable_pending_purchases

```
bool google::play::billing::BillingClientParams::enable_pending_purchases = false
```
Enables pending purchase for one-time products.

This value must be set to true. Pending purchases are not automatically enabled since your application will need to be updated to ensure entitlement is not granted before payment has been secured. For more information on how to handle pending transactions see <https://developer.android.com/google/play/billing/billing_library_overview>.

Mandatory.