Companion

object Companion

Functions

Link copied to clipboard
fun create(context: Context, customerEphemeralKeyProvider: CustomerEphemeralKeyProvider, setupIntentClientSecretProvider: SetupIntentClientSecretProvider?, paymentMethodTypes: List<String>? = null): CustomerAdapter

Creates a default implementation of CustomerAdapter which uses Android SharedPreferences as the data store to manage the customer's default saved payment methods locally.