Companion

object Companion

Functions

Link copied to clipboard
fun clearInstance()
Link copied to clipboard
fun getInstance(context: Context): PaymentConfiguration

Attempts to load a PaymentConfiguration instance. First attempt to use the class's singleton instance. If unavailable, attempt to load from Store.

Link copied to clipboard
fun init(context: Context, publishableKey: String, stripeAccountId: String? = null)

A publishable key from the Dashboard's API keys page.