Class

INPayBillIntentResponse

Your app’s response to a request to pay a bill.

Declaration

@interface INPayBillIntentResponse : INIntentResponse

Overview

Use an INPayBillIntentResponse object to specify the details of the bill payment operation that you perform. After creating the object, fill in the details of the transaction, including the amount to transfer, the user account involved, the payee, and the date on which the transaction will occur. Siri communicates the bill details back to the user at appropriate times.

You create an INPayBillIntentResponse object in the confirmPayBill:completion: and handlePayBill:completion: methods of your handler object. For more information about implementing your handler object, see INPayBillIntentHandling.

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.

INPayBillIntentResponseCode

Constants indicating the state of the response.

Providing the Account Information

fromAccount

The user account providing the funds.

Providing the Transaction Details

billDetails

The details of the bill to pay.

transactionAmount

The amount of money to transfer to the payee.

transactionScheduledDate

The date on which the transaction is to occur.

transactionNote

Notes to include with the transaction.

Relationships

Inherits From

See Also

Pay a Bill

INPayBillIntentHandling

The handler interface for paying a bill using money from the user’s account.

INPayBillIntent

A request to transfer of money to facilitate payment of a bill.