---
title: "currentEntitlements(for:)"
framework: storekit
role: symbol
role_heading: Type Method
path: "storekit/transaction/currententitlements(for:)"
---

# currentEntitlements(for:)

Gets the transactions that entitle the user to items purchased under a product ID.

## Declaration

```swift
static func currentEntitlements(for productID: String) -> Transaction.Transactions
```

## Parameters

- `productID`: Identifies the product to check entitlements for.

## Return Value

Return Value A sequence containing all transactions that entitle the user to the product.

## Discussion

Discussion If a generic SKU is provided, the returned sequence will yield all transactions that entitle the user to Advanced Commerce Items purchased using the generic product’s ID. If an ID for a regular IAP is provided, the returned sequence will contain no more than one transaction.

## See Also

### Deprecated

- [currentEntitlement(for:)](storekit/transaction/currententitlement(for:).md)
- [offerPeriodStringRepresentation](storekit/transaction/offerperiodstringrepresentation.md)
