success(with:)
Creates an object whose resolution involves the successful matching of the specified value.
Declaration
class func success(with resolvedPaymentStatus: INPaymentStatus) -> SelfParameters
- resolvedPaymentStatus:
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
A new INPaymentStatusResolutionResult object.
Discussion
Use this method to create a result object when you are able to perform a search based on the requested payment status.