Class

INPaymentMethod

Information about a form of payment supported by your app.

Declaration

@interface INPaymentMethod : NSObject

Overview

An INPaymentMethod object describes a way in which a user can pay for services. A payment method object stores information that you can display to the user when choosing payment options. Specifically, the object stores information about the type of payment, the name of the payment service, and an icon for any related brand information. Typical payment methods include credit cards and bank accounts. For example, you would use a payment method object to specify information about a brand of credit card that you support.

You create payment method objects as needed and include them in any appropriate response objects. The names of payment methods in a single response should be different to avoid confusion, but their types may still be the same. For example, you can have multiple credit card payment methods as long as each one has a unique name.

Topics

Initializing a Payment Object

- initWithType:name:identificationHint:icon:

Initializes the payment method object with the specified type and descriptive information.

+ applePayPaymentMethod

Creates and returns a payment method object that represents payment through Apple Pay.

Getting the Payment Information

type

The type of account used as the source of funds.

INPaymentMethodType

Constants describing the available payment options.

name

The name of this payment type.

identificationHint

The hint for identifying the payment method.

icon

The image representing the payment method.

Relationships

Inherits From

See Also

Data Objects

INAccountType

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

INBillDetails

The detailed information associated with a bill.

INBillPayee

The entity that receives the proceeds from a bill payment.

INCurrencyAmount

An amount of money to transfer during a financial transaction.

INPaymentAccount

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

INPaymentAmount

The amount of money to apply to a bill payment.

INPaymentRecord

Detailed information about a financial transaction made between two users.

INPaymentStatus

Constants indicating the state of the financial transaction.

INPerson

The information about a user involved in a SiriKit interaction.