---
title: Transaction.OwnershipType
framework: storekit
role: symbol
role_heading: Structure
path: storekit/transaction/ownershiptype-swift.struct
---

# Transaction.OwnershipType

The types the system uses to describe whether the user purchased the product or it’s available to them through Family Sharing.

## Declaration

```swift
struct OwnershipType
```

## Topics

### Getting ownership types

- [familyShared](storekit/transaction/ownershiptype-swift.struct/familyshared.md)
- [purchased](storekit/transaction/ownershiptype-swift.struct/purchased.md)

### Getting a localized description

- [localizedDescription](storekit/transaction/ownershiptype-swift.struct/localizeddescription.md)

### Type Properties

- [assigned](storekit/transaction/ownershiptype-swift.struct/assigned.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Getting purchase details

- [isUpgraded](storekit/transaction/isupgraded.md)
- [ownershipType](storekit/transaction/ownershiptype-swift.property.md)
- [purchasedQuantity](storekit/transaction/purchasedquantity.md)
