---
title: transaction
framework: storekit
role: symbol
role_heading: Instance Property
path: storekit/skdownload/transaction
---

# transaction

The transaction associated with the downloadable file.

## Declaration

```swift
var transaction: SKPaymentTransaction { get }
```

## Discussion

Discussion A download object is always associated with a payment transaction. The download object may only be queued after payment is processed and before the transaction is finished.

## See Also

### Getting Content Information

- [expectedContentLength](storekit/skdownload/expectedcontentlength.md)
- [contentIdentifier](storekit/skdownload/contentidentifier.md)
- [contentVersion](storekit/skdownload/contentversion.md)
- [contentLength](storekit/skdownload/contentlength.md)
