Builder
class Builder
Functions
Link copied to clipboard
fun allowsRemovalOfLastSavedPaymentMethod(allowsRemovalOfLastSavedPaymentMethod: Boolean): CustomerSheet.Configuration.Builder
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun cardBrandAcceptance(cardBrandAcceptance: PaymentSheet.CardBrandAcceptance): CustomerSheet.Configuration.Builder
By default, CustomerSheet will accept all supported cards by Stripe. You can specify card brands CustomerSheet 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
Link copied to clipboard
fun headerTextForSelectionScreen(headerTextForSelectionScreen: String?): CustomerSheet.Configuration.Builder
Link copied to clipboard
By default, CustomerSheet 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