---
title: "disambiguation(with:)"
framework: intents
role: symbol
role_heading: Type Method
path: "intents/inpaymentamountresolutionresult/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 paymentAmountsToDisambiguate: [INPaymentAmount]) -> Self
```

## Parameters

- `paymentAmountsToDisambiguate`: An array of doc://com.apple.sirikit/documentation/Intents/INPaymentAmount objects from which to select. Specify as few objects as possible, and preferably no more than five.

## Return Value

Return Value A new INPaymentAmountResolutionResult object.

## Discussion

Discussion Use this method when you cannot resolve the user request uniquely and want the user to select from a limited set of possible options. For example, you might use this method if the user’s initial request did not specify a payment amount and you want to specify options to pay the minimum amount due or the total amount. note: In watchOS, it is preferable to choose an appropriate amount and ask for confirmation rather than to ask the user to disambiguate from among several values.

## See Also

### Creating a Resolution Result Object

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