INPaymentsDomainHandling
An interface for adopting all of the protocols in the payments domain.
Declaration
protocol INPaymentsDomainHandling : INPayBillIntentHandling, INRequestPaymentIntentHandling, INSearchForAccountsIntentHandling, INSearchForBillsIntentHandling, INSendPaymentIntentHandling, INTransferMoneyIntentHandlingprotocol INPaymentsDomainHandling : INRequestPaymentIntentHandling, INSendPaymentIntentHandlingOverview
The INPaymentsDomainHandling 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 INSendPaymentIntentHandling, INRequestPaymentIntentHandling, INPayBillIntentHandling, INSearchForBillsIntentHandling, INSearchForAccountsIntentHandling, and INTransferMoneyIntentHandling protocols separately.
An object that adopts this protocol must be able to respond to the following intents:
INRequestPaymentIntent, a request for a payment from another user.
INSendPaymentIntent, a request to send a payment to another user.
INPayBillIntent, a request to pay a bill.
INSearchForBillsIntent, a request to search for bills to pay.
INSearchForAccountsIntent, a request to provide a list of the user’s accounts.
INTransferMoneyIntent, 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.