PaymentLauncherFactory
class PaymentLauncherFactory(context: Context, hostActivityLauncher: ActivityResultLauncher<PaymentLauncherContract.Args>)
Factory to create a PaymentLauncher, initialize all required dependencies.
Used when PaymentLauncher is used as a standalone API.
Constructors
Link copied to clipboard
fun PaymentLauncherFactory(activity: ComponentActivity, callback: PaymentLauncher.PaymentResultCallback)
Link copied to clipboard
Link copied to clipboard
fun PaymentLauncherFactory(context: Context, hostActivityLauncher: ActivityResultLauncher<PaymentLauncherContract.Args>)