Type Method

success(with:)

Creates an object whose resolution involves the successful matching of the specified value.

Declaration

class func success(with resolvedPaymentAmount: INPaymentAmount) -> Self

Parameters

resolvedValue

The value that resolves the requested value of the intent. This value may be different than the one specified in the intent object.

Return Value

Discussion

Use this method to create a result object when you are able to resolve the payment amount for a bill. For payment amounts representing the account’s current balance, amount due, or minimum amount due, a successful resolution signifies that you know the amount of money to transfer from the user’s account to the bill payee.

See Also

Creating a Resolution Result Object

class func confirmationRequired(with: INPaymentAmount?) -> Self

Creates an object whose resolution requires that the user confirm the value before proceeding.

class func disambiguation(with: [INPaymentAmount]) -> Self

Creates an object whose resolution requires the user to select from among the specified objects.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software