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


class INTransferMoneyIntentResponse : INIntentResponse


Use an INTransferMoneyIntentResponse object to specify the details of the transfer operation that you perform. After creating the object, fill in the details of the transaction, including the amount to transfer, the accounts involved, and the date to make the transaction. Siri communicates the details back to the user at appropriate times.

You create an INTransferMoneyIntentResponse object in the confirm(intent:completion:) and handle(intent:completion:) methods of your handler object. For more information about implementing your handler object, see INPayBillIntentHandling.


Initializing the Response Object

init(code: INTransferMoneyIntentResponseCode, userActivity: NSUserActivity?)

Initializes the response object with the specified code and user activity object.

Getting the Response Code

var code: INTransferMoneyIntentResponseCode

The code indicating whether you successfully handled the intent.

enum INTransferMoneyIntentResponseCode

Constants indicating the state of the response.

Providing the Account Information

var fromAccount: INPaymentAccount?

The user account providing the funds.

var toAccount: INPaymentAccount?

The user account receiving the funds.

Providing the Transaction Details

var transactionAmount: INPaymentAmount?

The amount of money to transfer between accounts.

var transactionScheduledDate: INDateComponentsRange?

The date on which the transfer is to occur.

var transactionNote: String?

Notes to include with the transaction.

var transferFee: INCurrencyAmount?

The fee charged for performing the transaction.


Inherits From

Conforms To

See Also

Transfer Money

protocol INTransferMoneyIntentHandling

The handler interface for transferring money between accounts.

class INTransferMoneyIntent

A request to transfer money between two accounts.