resolveNote(for:with:)
Resolves the notes associated with the transaction.
Declaration
optional func resolveNote(for intent: INSendPaymentIntent, with completion: @escaping @Sendable (INStringResolutionResult) -> Void)optional func resolveNote(for intent: INSendPaymentIntent) async -> INStringResolutionResultParameters
- 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 an Nsstring object containing the note to send with the payment. This parameter must not be
nil.
Discussion
Implement this method to resolve any notes associated with the transaction.