Type Method

confirmationRequired(with:)

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

Declaration

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

Parameters

valueToConfirm

The value that resolves the request but that must be confirmed by the user.

Return Value

Discussion

Use this method when you can resolve the parameter to a single value but want the user to confirm that value. For example, you might use this method if the user’s initial request did not specify a payment amount and you provide a suggested amount.

See Also

Creating a Resolution Result Object

class func success(with: INPaymentAmount) -> Self

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

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

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