Instance Method

resolveBillPayeeForSearchForBills:withCompletion:

Resolves the payee to use during your search.

Declaration

- (void)resolveBillPayeeForSearchForBills:(INSearchForBillsIntent *)intent withCompletion:(void (^)(INBillPayeeResolutionResult *resolutionResult))completion;

Parameters

intent

The intent object containing details about the user’s request. Use this object to get the initial information, if any, provided by the user.

completion

The handler block to execute with the resolution. You must execute this handler at some point during your implementation of this method. This handler has no return value and takes the following parameter:

resolutionResult

The object containing the details of your proposed resolution. For successful resolutions, create a resolution object containing the INBillPayee object that you intend to use during the search.

Discussion

Implement this method to resolve any questions about the payee to use during the search. Use the billPayee property in the intent object to identify the requested payee. The payee represents the entity that provided the bill to the user. The user must register all payees in advance.

If the intent does not contain any payee information, return a resolution of not required from this method. During the subsequent search, do not filter the search results based on the payee.

See Also

Resolving the Intent Parameters

- resolveBillTypeForSearchForBills:withCompletion:

Resolves the bill type to use during your search.

- resolveDueDateRangeForSearchForBills:withCompletion:

Resolves the due date to use during your search.

- resolvePaymentDateRangeForSearchForBills:withCompletion:

Resolves the payment date to use during your search.

- resolveStatusForSearchForBills:withCompletion:

Resolves the bill status to use during your search.