Class

INSendPaymentIntentResponse

Your app’s response to a send payment intent.

Declaration

@interface INSendPaymentIntentResponse : INIntentResponse

Overview

Use an INSendPaymentIntentResponse object to specify the details of the financial transaction that you perform. After creating the object, assign the details of the payment transaction to the paymentRecord property, the details of which Siri communicates to the user at appropriate times.

You create an INSendPaymentIntentResponse object in the confirmSendPayment:completion: and handleSendPayment:completion: methods of your handler object. For more information about implementing your handler object, see INSendPaymentIntentHandling.

Topics

Initializing the Response Object

- initWithCode:userActivity:

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

Getting the Response Code

code

The code indicating whether you successfully handled the intent.

INSendPaymentIntentResponseCode

Constants indicating the state of the response.

Accessing the Payment Information

paymentRecord

The details of the payment transaction.

Relationships

Inherits From

See Also

Send a Payment

INSendPaymentIntentHandling

The handler interface for transferring money from the current user’s account to a different user’s account.

INSendPaymentIntent

A request to transfer money from the current user’s account to a different user’s account.