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

# currentEntitlement(for:)

Gets the latest transactions that entitle the customer to a specified product.

## Declaration

```swift
static func currentEntitlement(for productID: String) async -> VerificationResult<Transaction>?
```

## Parameters

- `productID`: In-App Purchase product identifier.

## Return Value

Return Value A VerificationResult or nil if the customer has no current In-App Purchases.

## See Also

### Deprecated

- [currentEntitlements(for:)](storekit/transaction/currententitlements(for:).md)
- [offerPeriodStringRepresentation](storekit/transaction/offerperiodstringrepresentation.md)
