# ProductDetails.OneTimePurchaseOfferDetails.LimitedQuantityInfo


```
public final class ProductDetails.OneTimePurchaseOfferDetails.LimitedQuantityInfo
```

<br />

*** ** * ** ***

Represents the limited quantity information.

## Summary

| ### Public methods |
|---|---|
| `int` | `https://developer.android.com/reference/com/android/billingclient/api/ProductDetails.OneTimePurchaseOfferDetails.LimitedQuantityInfo#getMaximumQuantity()()` Returns the maximum number of time a user is allowed to purchase this one-time product offer. |
| `int` | `https://developer.android.com/reference/com/android/billingclient/api/ProductDetails.OneTimePurchaseOfferDetails.LimitedQuantityInfo#getRemainingQuantity()()` Returns the remaining quantity for the user to purchase this one-time product offer. |

## Public methods

### getMaximumQuantity

```
public int getMaximumQuantity()
```

Returns the maximum number of time a user is allowed to purchase this one-time product offer.

### getRemainingQuantity

```
public int getRemainingQuantity()
```

Returns the remaining quantity for the user to purchase this one-time product offer.

**Note:** This field respects both the product level remaining quantity and the offer level remaining quantity.