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 the amount to transfer and the accounts involved. Use the methods of this protocol to resolve the account information and initiate the transaction.

Topics

Handling the Intent

handleTransferMoney:completion:

Called when it is time for you to schedule the transfer.

Required.

Confirming the Response

confirmTransferMoney:completion:

Called when it is time for you to validate the transaction and confirm the details.

Resolving Details of the Intent

resolveFromAccountForTransferMoney:withCompletion:

Called when it is time for you to resolve the user account that is the source of the funds.

resolveToAccountForTransferMoney:withCompletion:

Called when it is time to resolve the user account that is the destination of the funds.

resolveTransactionAmountForTransferMoney:withCompletion:

Called when you need to resolve the amount that the user will transfer.

resolveTransactionScheduledDateForTransferMoney:withCompletion:

Called when you need to resolve the date on which the transfer will occur.

resolveTransactionNoteForTransferMoney:withCompletion:

Called when you need to resolve any custom notes associated with the transaction.

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.