---
title: ownershipType
framework: storekit
role: symbol
role_heading: Instance Property
path: storekit/transaction/ownershiptype-swift.property
---

# ownershipType

A value that indicates whether the transaction was purchased by the user, or is made available to them through Family Sharing.

## Declaration

```swift
let ownershipType: Transaction.OwnershipType
```

## See Also

### Getting purchase details

- [isUpgraded](storekit/transaction/isupgraded.md)
- [Transaction.OwnershipType](storekit/transaction/ownershiptype-swift.struct.md)
- [purchasedQuantity](storekit/transaction/purchasedquantity.md)
