<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FinanceKit",
  "identifier" : "/documentation/FinanceKit/TransactionQuery/predicate(forStatuses:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "FinanceKit"
    ],
    "preciseIdentifier" : "s:10FinanceKit16TransactionQueryV9predicate11forStatuses10Foundation9PredicateVyAA0C0V_QPGSayAA0C6StatusOG_tFZ"
  },
  "title" : "predicate(forStatuses:)"
}
-->

# predicate(forStatuses:)

Returns a predicate that matches any of the provided transaction statuses.

```
static func predicate(forStatuses statuses: [TransactionStatus]) -> Predicate<Transaction>
```

## Parameters

`statuses`

Transaction statuses to match against.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)