Creates an object whose resolution involves the successful matching of the specified value.
SDKs
- iOS 10.3+
- Mac Catalyst 13.0+
- watchOS 3.2+
Framework
- Intents
Declaration
class func success(with resolvedPaymentStatus: INPayment Status) -> 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
A new INPayment
object.
Discussion
Use this method to create a result object when you are able to perform a search based on the requested payment status.