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

# all(for:)

Gets all the transactions associated with this product ID.

## Declaration

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

## Parameters

- `productID`: Identifies the product to filter the transaction cache against.

## Return Value

Return Value A sequence containing all transactions for the given product.
