success(with:)
Creates an object whose resolution involves the successful matching of the specified value.
Declaration
class func success(with resolvedPaymentAmount: INPaymentAmount) -> SelfParameters
- resolvedPaymentAmount:
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
A new INPaymentAmountResolutionResult object.
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.