Companion

object Companion

Functions

Link copied to clipboard
fun create(activity: ComponentActivity, publishableKey: String, stripeAccountId: String? = null, callback: PaymentLauncher.PaymentResultCallback): PaymentLauncher

Create a PaymentLauncher instance with ComponentActivity.

fun create(fragment: Fragment, publishableKey: String, stripeAccountId: String? = null, callback: PaymentLauncher.PaymentResultCallback): PaymentLauncher

Create a PaymentLauncher instance with Fragment.

Link copied to clipboard
fun createForCompose(publishableKey: String, stripeAccountId: String? = null, callback: PaymentLauncher.PaymentResultCallback): PaymentLauncher

Create a PaymentLauncher used for Jetpack Compose.

Link copied to clipboard
fun rememberLauncher(publishableKey: String, stripeAccountId: String? = null, callback: PaymentLauncher.PaymentResultCallback): PaymentLauncher

Create a PaymentLauncher used for Jetpack Compose.