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

# quantity

The number of items the user wants to purchase.

## Declaration

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

## Discussion

Discussion The quantity property must be greater than 0.

## See Also

### Getting and Setting Attributes

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