---
title: "disambiguation(with:)"
framework: intents
role: symbol
role_heading: Type Method
path: "intents/inpaymentmethodresolutionresult/disambiguation(with:)"
---

# disambiguation(with:)

Creates an object whose resolution requires the user to select from among the specified objects.

## Declaration

```swift
class func disambiguation(with paymentMethodsToDisambiguate: [INPaymentMethod]) -> Self
```

## Parameters

- `paymentMethodsToDisambiguate`: An array of doc://com.apple.sirikit/documentation/Intents/INPaymentMethod objects for the user to choose from.

## Return Value

Return Value A new INPaymentMethodResolutionResult object.

## Discussion

Discussion Use this method to create a result object when there’s more one value that might match the given parameter. Siri asks the user to select from among the objects you provide.

## See Also

### Creating a Resolution Result Object

- [confirmationRequired(with:)](intents/inpaymentmethodresolutionresult/confirmationrequired(with:).md)
- [success(with:)](intents/inpaymentmethodresolutionresult/success(with:).md)
