---
title: "donationIdentifiers(_:)"
framework: appintents
role: symbol
role_heading: Type Method
path: "appintents/intentdonationmatchingpredicate/donationidentifiers(_:)"
---

# donationIdentifiers(_:)

Creates a predicate that matches one or more previous donations.

## Declaration

```swift
static func donationIdentifiers(_ identifiers: [IntentDonationIdentifier]) -> IntentDonationMatchingPredicate
```

## Parameters

- `identifiers`: An array of donation identifiers you received after donating app intents.

## Return Value

Return Value A predicate that matches the specified donations.

## Discussion

Discussion When you donate an app intent using the methods of IntentDonationManager, the method returns a unique identifier for that donation. Use this method to create a predicate that matches all of the donations you specified.
