Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
interface PaymentLauncher
API to confirm and handle next actions for PaymentIntent and SetupIntent.
Link copied to clipboard
Link copied to clipboard
class PaymentLauncherFactory(hostActivityLauncher: ActivityResultLauncher<PaymentLauncherContract.Args>, statusBarColor: Int?)
Factory to create a PaymentLauncher, initialize all required dependencies.
Link copied to clipboard
Result to be passed to the callback of PaymentLauncher
Link copied to clipboard
Implementation of PaymentLauncher, start an PaymentLauncherConfirmationActivity to confirm and handle next actions for intents.
Link copied to clipboard
AssistedFactory to create a StripePaymentLauncher with shared dependencies already created elsewhere.
Functions
Link copied to clipboard
fun rememberPaymentLauncher(publishableKey: String, stripeAccountId: String? = null, callback: PaymentLauncher.PaymentResultCallback): PaymentLauncher
Creates a PaymentLauncher that is remembered across compositions.
Link copied to clipboard
fun toInternalPaymentResultCallback(callback: (result: PaymentResult) -> Unit): (result: InternalPaymentResult) -> Unit