Type Method

success(with:)

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

Declaration

class func success(with resolvedPaymentStatus: INPaymentStatus) -> Self

Parameters

resolvedValue

The value that resolves the requested value of the intent. You may specify a different payment status if your app treats that value as equivalent to the status requested by the user.

Return Value

Discussion

Use this method to create a result object when you are able to perform a search based on the requested payment status.

See Also

Creating a Resolution Result Object

class func confirmationRequired(with: INPaymentStatus) -> Self

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

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