An interface for adopting all of the protocols in the payments domain.
- iOS 11.0+
- watchOS 3.0+
INPayments protocol is a convenience protocol that adopts all of the protocols used to handle payment-related intents. When your app adopts all of the protocols associated with payments, you can adopt this one protocol instead of adopting the
INTransfer protocols separately.
An object that adopts this protocol must be able to respond to the following intents:
INRequest, a request for a payment from another user.
INSend, a request to send a payment to another user.
INPay, a request to pay a bill.
INSearch, a request to search for bills to pay.
For Bills Intent
INSearch, a request to provide a list of the user's accounts.
For Accounts Intent
INTransfer, a request to transfer money between the designated accounts.
Your handler object must be prepared to resolve any parameters associated with these intents and to confirm and handle the requests. When confirming and handling a request, you provide the response object that matches the specified intent.