Class

INRequestPaymentIntentResponse

Your app’s response to a request payment intent.

Declaration

@interface INRequestPaymentIntentResponse : INIntentResponse

Overview

Use an INRequestPaymentIntentResponse object to specify the details of a payment request that you make. 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 INRequestPaymentIntentResponse object in the confirmRequestPayment:completion: and handleRequestPayment:completion: methods of your handler object. For more information about implementing your handler object, see INRequestPaymentIntentHandling.

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.

INRequestPaymentIntentResponseCode

Constants indicating the state of the response.

Accessing the Response Data

paymentRecord

The details of the request.

Relationships

Inherits From

See Also

Request a Payment

INRequestPaymentIntentHandling

The handler interface for delivering a request for payment from another user of your app.

INRequestPaymentIntent

An intent for requesting money from another user’s account.