-
Notifications
You must be signed in to change notification settings - Fork 649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Embedded Appearance API #9706
Open
tjclawson-stripe
wants to merge
12
commits into
master
Choose a base branch
from
tyler/embedded-appearance-api
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Embedded Appearance API #9706
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
69e211a
Initial API
tjclawson-stripe 870bcd2
API v2
tjclawson-stripe aeecdfb
Test
tjclawson-stripe 07159e2
test two
tjclawson-stripe 30246d2
Merge branch 'master' into tyler/embedded-appearance-api
tjclawson-stripe be7e7e9
Cleanup
tjclawson-stripe 90d98ae
Add OptIn for AppearacneBottomSheetDialogFragment
tjclawson-stripe e4d478f
Add RestrictTo annotations
tjclawson-stripe 32935ff
Update paymentsheet-example/detekt-baseline.xml
tjclawson-stripe 98d8d2e
API dump
tjclawson-stripe c62f252
RestrictTo annotations
tjclawson-stripe 9e6946e
Fix tests
tjclawson-stripe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -606,32 +606,6 @@ public final class com/stripe/android/paymentsheet/PaymentSheet$Address$Creator | |
public synthetic fun newArray (I)[Ljava/lang/Object; | ||
} | ||
|
||
public final class com/stripe/android/paymentsheet/PaymentSheet$Appearance : android/os/Parcelable { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How come this got removed? |
||
public static final field $stable I | ||
public static final field CREATOR Landroid/os/Parcelable$Creator; | ||
public fun <init> ()V | ||
public fun <init> (Lcom/stripe/android/paymentsheet/PaymentSheet$Colors;Lcom/stripe/android/paymentsheet/PaymentSheet$Colors;Lcom/stripe/android/paymentsheet/PaymentSheet$Shapes;Lcom/stripe/android/paymentsheet/PaymentSheet$Typography;Lcom/stripe/android/paymentsheet/PaymentSheet$PrimaryButton;)V | ||
public synthetic fun <init> (Lcom/stripe/android/paymentsheet/PaymentSheet$Colors;Lcom/stripe/android/paymentsheet/PaymentSheet$Colors;Lcom/stripe/android/paymentsheet/PaymentSheet$Shapes;Lcom/stripe/android/paymentsheet/PaymentSheet$Typography;Lcom/stripe/android/paymentsheet/PaymentSheet$PrimaryButton;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | ||
public final fun component1 ()Lcom/stripe/android/paymentsheet/PaymentSheet$Colors; | ||
public final fun component2 ()Lcom/stripe/android/paymentsheet/PaymentSheet$Colors; | ||
public final fun component3 ()Lcom/stripe/android/paymentsheet/PaymentSheet$Shapes; | ||
public final fun component4 ()Lcom/stripe/android/paymentsheet/PaymentSheet$Typography; | ||
public final fun component5 ()Lcom/stripe/android/paymentsheet/PaymentSheet$PrimaryButton; | ||
public final fun copy (Lcom/stripe/android/paymentsheet/PaymentSheet$Colors;Lcom/stripe/android/paymentsheet/PaymentSheet$Colors;Lcom/stripe/android/paymentsheet/PaymentSheet$Shapes;Lcom/stripe/android/paymentsheet/PaymentSheet$Typography;Lcom/stripe/android/paymentsheet/PaymentSheet$PrimaryButton;)Lcom/stripe/android/paymentsheet/PaymentSheet$Appearance; | ||
public static synthetic fun copy$default (Lcom/stripe/android/paymentsheet/PaymentSheet$Appearance;Lcom/stripe/android/paymentsheet/PaymentSheet$Colors;Lcom/stripe/android/paymentsheet/PaymentSheet$Colors;Lcom/stripe/android/paymentsheet/PaymentSheet$Shapes;Lcom/stripe/android/paymentsheet/PaymentSheet$Typography;Lcom/stripe/android/paymentsheet/PaymentSheet$PrimaryButton;ILjava/lang/Object;)Lcom/stripe/android/paymentsheet/PaymentSheet$Appearance; | ||
public final fun describeContents ()I | ||
public fun equals (Ljava/lang/Object;)Z | ||
public final fun getColors (Z)Lcom/stripe/android/paymentsheet/PaymentSheet$Colors; | ||
public final fun getColorsDark ()Lcom/stripe/android/paymentsheet/PaymentSheet$Colors; | ||
public final fun getColorsLight ()Lcom/stripe/android/paymentsheet/PaymentSheet$Colors; | ||
public final fun getPrimaryButton ()Lcom/stripe/android/paymentsheet/PaymentSheet$PrimaryButton; | ||
public final fun getShapes ()Lcom/stripe/android/paymentsheet/PaymentSheet$Shapes; | ||
public final fun getTypography ()Lcom/stripe/android/paymentsheet/PaymentSheet$Typography; | ||
public fun hashCode ()I | ||
public fun toString ()Ljava/lang/String; | ||
public final fun writeToParcel (Landroid/os/Parcel;I)V | ||
} | ||
|
||
public final class com/stripe/android/paymentsheet/PaymentSheet$Appearance$Builder { | ||
public static final field $stable I | ||
public fun <init> ()V | ||
|
@@ -651,6 +625,55 @@ public final class com/stripe/android/paymentsheet/PaymentSheet$Appearance$Creat | |
public synthetic fun newArray (I)[Ljava/lang/Object; | ||
} | ||
|
||
public final class com/stripe/android/paymentsheet/PaymentSheet$Appearance$Embedded$Creator : android/os/Parcelable$Creator { | ||
public fun <init> ()V | ||
public final fun createFromParcel (Landroid/os/Parcel;)Lcom/stripe/android/paymentsheet/PaymentSheet$Appearance$Embedded; | ||
public synthetic fun createFromParcel (Landroid/os/Parcel;)Ljava/lang/Object; | ||
public final fun newArray (I)[Lcom/stripe/android/paymentsheet/PaymentSheet$Appearance$Embedded; | ||
public synthetic fun newArray (I)[Ljava/lang/Object; | ||
} | ||
|
||
public final class com/stripe/android/paymentsheet/PaymentSheet$Appearance$Embedded$RowStyle$FlatWithCheckmark$Creator : android/os/Parcelable$Creator { | ||
public fun <init> ()V | ||
public final fun createFromParcel (Landroid/os/Parcel;)Lcom/stripe/android/paymentsheet/PaymentSheet$Appearance$Embedded$RowStyle$FlatWithCheckmark; | ||
public synthetic fun createFromParcel (Landroid/os/Parcel;)Ljava/lang/Object; | ||
public final fun newArray (I)[Lcom/stripe/android/paymentsheet/PaymentSheet$Appearance$Embedded$RowStyle$FlatWithCheckmark; | ||
public synthetic fun newArray (I)[Ljava/lang/Object; | ||
} | ||
|
||
public final class com/stripe/android/paymentsheet/PaymentSheet$Appearance$Embedded$RowStyle$FlatWithRadio : com/stripe/android/paymentsheet/PaymentSheet$Appearance$Embedded$RowStyle { | ||
public static final field $stable I | ||
public static final field CREATOR Landroid/os/Parcelable$Creator; | ||
public fun <init> (FIFZZIIF)V | ||
public synthetic fun <init> (Landroid/content/Context;IJIZZJJILkotlin/jvm/internal/DefaultConstructorMarker;)V | ||
public final fun describeContents ()I | ||
public final fun getAdditionalInsetsDp ()F | ||
public final fun getBottomSeparatorEnabled ()Z | ||
public final fun getSelectedColor ()I | ||
public final fun getSeparatorColor ()I | ||
public final fun getSeparatorInsetsDp ()F | ||
public final fun getSeparatorThicknessDp ()F | ||
public final fun getTopSeparatorEnabled ()Z | ||
public final fun getUnselectedColor ()I | ||
public final fun writeToParcel (Landroid/os/Parcel;I)V | ||
} | ||
|
||
public final class com/stripe/android/paymentsheet/PaymentSheet$Appearance$Embedded$RowStyle$FlatWithRadio$Creator : android/os/Parcelable$Creator { | ||
public fun <init> ()V | ||
public final fun createFromParcel (Landroid/os/Parcel;)Lcom/stripe/android/paymentsheet/PaymentSheet$Appearance$Embedded$RowStyle$FlatWithRadio; | ||
public synthetic fun createFromParcel (Landroid/os/Parcel;)Ljava/lang/Object; | ||
public final fun newArray (I)[Lcom/stripe/android/paymentsheet/PaymentSheet$Appearance$Embedded$RowStyle$FlatWithRadio; | ||
public synthetic fun newArray (I)[Ljava/lang/Object; | ||
} | ||
|
||
public final class com/stripe/android/paymentsheet/PaymentSheet$Appearance$Embedded$RowStyle$FloatingButton$Creator : android/os/Parcelable$Creator { | ||
public fun <init> ()V | ||
public final fun createFromParcel (Landroid/os/Parcel;)Lcom/stripe/android/paymentsheet/PaymentSheet$Appearance$Embedded$RowStyle$FloatingButton; | ||
public synthetic fun createFromParcel (Landroid/os/Parcel;)Ljava/lang/Object; | ||
public final fun newArray (I)[Lcom/stripe/android/paymentsheet/PaymentSheet$Appearance$Embedded$RowStyle$FloatingButton; | ||
public synthetic fun newArray (I)[Ljava/lang/Object; | ||
} | ||
|
||
public final class com/stripe/android/paymentsheet/PaymentSheet$BillingDetails : android/os/Parcelable { | ||
public static final field $stable I | ||
public static final field CREATOR Landroid/os/Parcelable$Creator; | ||
|
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Required because the method calls
copy
on Appearance