isPaymentResult

fun isPaymentResult(requestCode: Int, data: Intent?): Boolean

Check if the requestCode and Intent is for PaymentIntentResult. The Intent should be retrieved from the result from Activity#onActivityResult(int, int, Intent)}} by Activity started with confirmPayment or handleNextActionForPayment.

Return

whether the requestCode and intent is for PaymentIntentResult.