disambiguation(with:)

disambiguation(with:)

disambiguation(with:) Type Method of INPaymentAccountResolutionResult Creates an object whose resolution requires the user to select from among the specified objects.

class func disambiguation(with paymentAccountsToDisambiguate: [INPaymentAccount]) -> Self

Parameters

paymentAccountsToDisambiguate

An array of INPaymentAccount objects from which to select. Specify as few objects as possible, and preferably no more than five.

Return Value

A new INPaymentAccountResolutionResult object.

Discussion

Use this method when you cannot resolve the user account uniquely and need the user to select from a limited set of possible options.