Builder
Configuration builder for cleaner object creation from Java.
Functions
Link copied to clipboard
fun allowsDelayedPaymentMethods(allowsDelayedPaymentMethods: Boolean): PaymentSheet.Configuration.Builder
Link copied to clipboard
fun allowsPaymentMethodsRequiringShippingAddress(allowsPaymentMethodsRequiringShippingAddress: Boolean): PaymentSheet.Configuration.Builder
Link copied to clipboard
fun allowsRemovalOfLastSavedPaymentMethod(allowsRemovalOfLastSavedPaymentMethod: Boolean): PaymentSheet.Configuration.Builder
Link copied to clipboard
Link copied to clipboard
fun billingDetailsCollectionConfiguration(billingDetailsCollectionConfiguration: PaymentSheet.BillingDetailsCollectionConfiguration): PaymentSheet.Configuration.Builder
Link copied to clipboard
Link copied to clipboard
fun cardBrandAcceptance(cardBrandAcceptance: PaymentSheet.CardBrandAcceptance): PaymentSheet.Configuration.Builder
By default, PaymentSheet will accept all supported cards by Stripe. You can specify card brands PaymentSheet should block or allow payment for by providing a list of those card brands. Note: This is only a client-side solution. Note: Card brand filtering is not currently supported in Link.
Link copied to clipboard
Link copied to clipboard
fun defaultBillingDetails(defaultBillingDetails: PaymentSheet.BillingDetails?): PaymentSheet.Configuration.Builder
Link copied to clipboard
fun externalPaymentMethods(externalPaymentMethods: List<String>): PaymentSheet.Configuration.Builder
External payment methods to display in PaymentSheet.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun paymentMethodLayout(paymentMethodLayout: PaymentSheet.PaymentMethodLayout): PaymentSheet.Configuration.Builder
The layout of payment methods in PaymentSheet. Defaults to PaymentSheet.PaymentMethodLayout.Horizontal.
Link copied to clipboard
By default, PaymentSheet will use a dynamic ordering that optimizes payment method display for the customer. You can override the default order in which payment methods are displayed in PaymentSheet with a list of payment method types.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard