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.