Protocol

INTransferMoneyIntentHandling

The handler interface for transferring money between accounts.

Declaration

@protocol INTransferMoneyIntentHandling

Overview

Use the methods of the INTransferMoneyIntentHandling protocol to resolve, confirm, and handle requests to transfer money between accounts. Adopt this protocol in an object of your Intents extension that is capable of handling the transfer.

Siri delivers an INTransferMoneyIntent object to your handler when the user asks to transfer money using your app. The provided intent object contains information about the amount to transfer and the accounts involved. Use the methods of this protocol to resolve the account information and initiate the transaction.

Topics

Resolving the Intent Parameters

- resolveFromAccountForTransferMoney:withCompletion:

Resovles the user account that is the source of the funds.

- resolveToAccountForTransferMoney:withCompletion:

Resolves the user account that is the destination of the funds.

- resolveTransactionAmountForTransferMoney:withCompletion:

Resolves the amount that the user wants to transfer.

- resolveTransactionScheduledDateForTransferMoney:withCompletion:

Resolves the date on which the transfer is to occur.

- resolveTransactionNoteForTransferMoney:withCompletion:

Resolves any custom notes associated with the transaction.

Confirming the Response

- confirmTransferMoney:completion:

Confirms the transaction details and validates the transaciton.

Handling the Intent

- handleTransferMoney:completion:

Handles the scheduling of the transfer

Required.

Relationships

Inherits From

See Also

Transfer Money

INTransferMoneyIntent

A request to transfer money between two accounts.

INTransferMoneyIntentResponse

Your app’s response to a request to transfer money.