Type Method

success(with:)

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

Declaration

class func success(with resolvedPaymentAccount: INPaymentAccount) -> Self

Parameters

resolvedValue

The value that resolves the requested value of the intent. The account you specify 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 parameter successfully to a recognizable user account in your app.

See Also

Creating a Resolution Result Object

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

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

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

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