You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,9 @@
2
2
3
3
## XX.XX.XX - 20XX-XX-XX
4
4
5
+
### PaymentSheet
6
+
*[ADDED][10720](https://github.com/stripe/stripe-android/pull/10720) `EmbeddedPaymentElement` now supports customizing `FormSheetAction` and a 2 step flow (similar to `PaymentSheet.FlowController`).
Copy file name to clipboardExpand all lines: paymentsheet/api/paymentsheet.api
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -588,6 +588,8 @@ public final class com/stripe/android/paymentelement/EmbeddedPaymentElement {
588
588
public final fun configure (Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration;Lcom/stripe/android/paymentelement/EmbeddedPaymentElement$Configuration;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
589
589
public final fun confirm ()V
590
590
public final fun getPaymentOption ()Lkotlinx/coroutines/flow/StateFlow;
591
+
public final fun getState ()Lcom/stripe/android/paymentelement/EmbeddedPaymentElement$State;
592
+
public final fun setState (Lcom/stripe/android/paymentelement/EmbeddedPaymentElement$State;)V
591
593
}
592
594
593
595
public final class com/stripe/android/paymentelement/EmbeddedPaymentElement$Builder {
@@ -620,6 +622,7 @@ public final class com/stripe/android/paymentelement/EmbeddedPaymentElement$Conf
620
622
public final fun defaultBillingDetails (Lcom/stripe/android/paymentsheet/PaymentSheet$BillingDetails;)Lcom/stripe/android/paymentelement/EmbeddedPaymentElement$Configuration$Builder;
621
623
public final fun embeddedViewDisplaysMandateText (Z)Lcom/stripe/android/paymentelement/EmbeddedPaymentElement$Configuration$Builder;
622
624
public final fun externalPaymentMethods (Ljava/util/List;)Lcom/stripe/android/paymentelement/EmbeddedPaymentElement$Configuration$Builder;
625
+
public final fun formSheetAction (Lcom/stripe/android/paymentelement/EmbeddedPaymentElement$FormSheetAction;)Lcom/stripe/android/paymentelement/EmbeddedPaymentElement$Configuration$Builder;
623
626
public final fun googlePay (Lcom/stripe/android/paymentsheet/PaymentSheet$GooglePayConfiguration;)Lcom/stripe/android/paymentelement/EmbeddedPaymentElement$Configuration$Builder;
624
627
public final fun link (Lcom/stripe/android/paymentsheet/PaymentSheet$LinkConfiguration;)Lcom/stripe/android/paymentelement/EmbeddedPaymentElement$Configuration$Builder;
625
628
public final fun paymentMethodOrder (Ljava/util/List;)Lcom/stripe/android/paymentelement/EmbeddedPaymentElement$Configuration$Builder;
@@ -651,6 +654,14 @@ public final class com/stripe/android/paymentelement/EmbeddedPaymentElement$Conf
651
654
public static final field $stable I
652
655
}
653
656
657
+
public final class com/stripe/android/paymentelement/EmbeddedPaymentElement$FormSheetAction : java/lang/Enum {
658
+
public static final field Confirm Lcom/stripe/android/paymentelement/EmbeddedPaymentElement$FormSheetAction;
659
+
public static final field Continue Lcom/stripe/android/paymentelement/EmbeddedPaymentElement$FormSheetAction;
660
+
public static fun getEntries ()Lkotlin/enums/EnumEntries;
661
+
public static fun valueOf (Ljava/lang/String;)Lcom/stripe/android/paymentelement/EmbeddedPaymentElement$FormSheetAction;
662
+
public static fun values ()[Lcom/stripe/android/paymentelement/EmbeddedPaymentElement$FormSheetAction;
663
+
}
664
+
654
665
public final class com/stripe/android/paymentelement/EmbeddedPaymentElement$PaymentOptionDisplayData {
655
666
public static final field $stable I
656
667
public fun equals (Ljava/lang/Object;)Z
@@ -686,6 +697,16 @@ public abstract interface class com/stripe/android/paymentelement/EmbeddedPaymen
686
697
public abstract fun onResult (Lcom/stripe/android/paymentelement/EmbeddedPaymentElement$Result;)V
687
698
}
688
699
700
+
public final class com/stripe/android/paymentelement/EmbeddedPaymentElement$State : android/os/Parcelable {
701
+
public static final field $stable I
702
+
public static final field CREATOR Landroid/os/Parcelable$Creator;
703
+
public final fun describeContents ()I
704
+
public fun equals (Ljava/lang/Object;)Z
705
+
public fun hashCode ()I
706
+
public fun toString ()Ljava/lang/String;
707
+
public final fun writeToParcel (Landroid/os/Parcel;I)V
708
+
}
709
+
689
710
public final class com/stripe/android/paymentelement/EmbeddedPaymentElement$State$Creator : android/os/Parcelable$Creator {
690
711
public fun <init> ()V
691
712
public final fun createFromParcel (Landroid/os/Parcel;)Lcom/stripe/android/paymentelement/EmbeddedPaymentElement$State;
0 commit comments