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
@Composable
fun createForCompose(    publishableKey: String,     stripeAccountId: String? = null,     callback: PaymentLauncher.PaymentResultCallback): PaymentLauncher

Create a PaymentLauncher used for Jetpack Compose.