Class

INPaymentAmount

The amount of money to apply to a bill payment.

Declaration

class INPaymentAmount : NSObject

Overview

An INPaymentAmount object describes the amount of money to pay toward a bill. When handling bill payments, Siri may provide an instance of this class with the amount that the user wants to pay. When handling the intent, you also create instances of the class with the amount of money that you scheduled toward the user's bill.

When receiving an instance of this class from Siri, the amount type might be specified using only an INAmountType constant, such as INAmountType.minimumDue or INAmountType.currentBalance. During resolution or when confirming the amount type, you should always supply a value in the amount property in addition to the amount type constant. When communicating with the user, Siri always displays the actual amount of money to be applied to a bill.

Topics

Initializing the Payment Amount

init(amountType: INAmountType, amount: INCurrencyAmount)

Initializes a payment amount object with the specified amounts.

Getting the Payment Amount

var amount: INCurrencyAmount?

The precise amount of money to pay.

var amountType: INAmountType

The account-specific amount to pay.

enum INAmountType

Constants indicating an account-specific amount to apply to a payment.

Relationships

Inherits From

See Also

Data Objects

enum INAccountType

Constants indicating the type of account involved in a financial transaction.

class INBillDetails

The detailed information associated with a bill.

class INBillPayee

The entity that receives the proceeds from a bill payment.

class INCurrencyAmount

An amount of money to transfer during a financial transaction.

class INPaymentAccount

A user account that provides the funds when making a payment.

class INPaymentMethod

Information about a form of payment supported by your app.

class INPaymentRecord

Detailed information about a financial transaction made between two users.

enum INPaymentStatus

Constants indicating the state of the financial transaction.

class INPerson

The information about a user involved in a SiriKit interaction.