From 5dedc9e32e1e0cbe002e6f4f0c35a174553e52ea Mon Sep 17 00:00:00 2001 From: Ali Riaz Date: Wed, 27 Jan 2021 12:44:32 -0600 Subject: [PATCH 1/2] Make Afterpay PM public --- .../java/com/stripe/android/model/PaymentMethodCreateParams.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stripe/src/main/java/com/stripe/android/model/PaymentMethodCreateParams.kt b/stripe/src/main/java/com/stripe/android/model/PaymentMethodCreateParams.kt index c28d6a7d360..31fb3639ccd 100644 --- a/stripe/src/main/java/com/stripe/android/model/PaymentMethodCreateParams.kt +++ b/stripe/src/main/java/com/stripe/android/model/PaymentMethodCreateParams.kt @@ -713,7 +713,7 @@ data class PaymentMethodCreateParams internal constructor( @JvmSynthetic @JvmOverloads - internal fun createAfterpayClearpay( + fun createAfterpayClearpay( billingDetails: PaymentMethod.BillingDetails? = null, metadata: Map? = null ): PaymentMethodCreateParams { From b2b1cdfef5db7c62533ae85793f795de813e4485 Mon Sep 17 00:00:00 2001 From: Ali Riaz Date: Wed, 27 Jan 2021 14:23:42 -0600 Subject: [PATCH 2/2] mark jvmstatic --- .../java/com/stripe/android/model/PaymentMethodCreateParams.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stripe/src/main/java/com/stripe/android/model/PaymentMethodCreateParams.kt b/stripe/src/main/java/com/stripe/android/model/PaymentMethodCreateParams.kt index 31fb3639ccd..b48dc0a5d1e 100644 --- a/stripe/src/main/java/com/stripe/android/model/PaymentMethodCreateParams.kt +++ b/stripe/src/main/java/com/stripe/android/model/PaymentMethodCreateParams.kt @@ -711,7 +711,7 @@ data class PaymentMethodCreateParams internal constructor( ) } - @JvmSynthetic + @JvmStatic @JvmOverloads fun createAfterpayClearpay( billingDetails: PaymentMethod.BillingDetails? = null,