diff --git a/stripe/api/stripe.api b/stripe/api/stripe.api index 955a08490b1..c21ad689892 100644 --- a/stripe/api/stripe.api +++ b/stripe/api/stripe.api @@ -821,8 +821,8 @@ public final class com/stripe/android/Stripe { public static synthetic fun handleNextActionForSetupIntent$default (Lcom/stripe/android/Stripe;Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)V public static synthetic fun handleNextActionForSetupIntent$default (Lcom/stripe/android/Stripe;Landroidx/fragment/app/Fragment;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)V public final fun isAuthenticateSourceResult (ILandroid/content/Intent;)Z - public final fun isForPaymentIntentResult (ILandroid/content/Intent;)Z - public final fun isForSetupIntentResult (ILandroid/content/Intent;)Z + public final fun isPaymentResult (ILandroid/content/Intent;)Z + public final fun isSetupResult (ILandroid/content/Intent;)Z public final fun onAuthenticateSourceResult (Landroid/content/Intent;Lcom/stripe/android/ApiResultCallback;)V public final fun onPaymentResult (ILandroid/content/Intent;Lcom/stripe/android/ApiResultCallback;)Z public final fun onSetupResult (ILandroid/content/Intent;Lcom/stripe/android/ApiResultCallback;)Z diff --git a/stripe/src/test/java/com/stripe/android/StripePaymentAuthTest.kt b/stripe/src/test/java/com/stripe/android/StripePaymentAuthTest.kt index 841f995bd18..934a4027088 100644 --- a/stripe/src/test/java/com/stripe/android/StripePaymentAuthTest.kt +++ b/stripe/src/test/java/com/stripe/android/StripePaymentAuthTest.kt @@ -198,7 +198,6 @@ class StripePaymentAuthTest { verify(setupCallback).onSuccess(result) } - @Test fun onSetupResult_whenShouldHandleResultAndControllerReturnsNull_shouldThrowException() = testDispatcher.runBlockingTest { diff --git a/stripe/src/test/java/com/stripe/android/StripePaymentControllerTest.kt b/stripe/src/test/java/com/stripe/android/StripePaymentControllerTest.kt index 52b5a426fbd..90834afd02f 100644 --- a/stripe/src/test/java/com/stripe/android/StripePaymentControllerTest.kt +++ b/stripe/src/test/java/com/stripe/android/StripePaymentControllerTest.kt @@ -19,7 +19,6 @@ import com.nhaarman.mockitokotlin2.verify import com.nhaarman.mockitokotlin2.verifyZeroInteractions import com.nhaarman.mockitokotlin2.whenever import com.stripe.android.auth.PaymentAuthWebViewContract -import com.stripe.android.exception.APIException import com.stripe.android.exception.InvalidRequestException import com.stripe.android.model.AlipayAuthResult import com.stripe.android.model.ConfirmPaymentIntentParams