---
title: quantity
framework: storekit
role: symbol
role_heading: Instance Property
path: storekit/skpayment/quantity
---

# quantity

The number of items the user wants to purchase.

## Declaration

```swift
var quantity: Int { get }
```

## Discussion

Discussion The default value is 1, the minimum value is 1, and the maximum value is 10.

## See Also

### Getting Payment Details

- [productIdentifier](storekit/skpayment/productidentifier.md)
- [requestData](storekit/skpayment/requestdata.md)
- [applicationUsername](storekit/skpayment/applicationusername.md)
