Instance Method

resolveNote(for:with:)

Resolves the notes associated with the request.

Declaration

optional func resolveNote(for intent: INRequestPaymentIntent, with completion: @escaping (INStringResolutionResult) -> Void)

Parameters

intent

The intent object containing details about the user’s request. Use this object to get the initial information, if any, provided by the user.

completion

The block to execute with the resolution. You must execute this block at some point during your implementation of this method. This block has no return value and takes the following parameter:

resolutionResult

The resolution result object containing your proposed resolution. For successful resolutions, create a resolution object whose value is the NSString object with the note to send to the request recipient. This parameter must not be nil.

Discussion

Implement this method to resolve any problems with the notes for the request.

See Also

Resolving the Intent Parameters