GooglePayLauncherContract
class GooglePayLauncherContract : ActivityResultContract<GooglePayLauncherContract.Args, GooglePayLauncher.Result>
Content copied to clipboard
Types
Link copied to clipboard
Link copied to clipboard
data class PaymentIntentArgs(clientSecret: String, config: GooglePayLauncher.Config) : GooglePayLauncherContract.Args
Content copied to clipboard
Args for launching GooglePayLauncherContract to confirm a PaymentIntent.
Link copied to clipboard
data class SetupIntentArgs(clientSecret: String, config: GooglePayLauncher.Config, currencyCode: String) : GooglePayLauncherContract.Args
Content copied to clipboard
Args for launching GooglePayLauncherContract to confirm a SetupIntent.
Functions
Link copied to clipboard
open override fun createIntent(context: Context, input: GooglePayLauncherContract.Args): Intent
Content copied to clipboard
Link copied to clipboard
open fun getSynchronousResult(context: Context, input: GooglePayLauncherContract.Args): ActivityResultContract.SynchronousResult<GooglePayLauncher.Result>?
Content copied to clipboard
Link copied to clipboard
open override fun parseResult(resultCode: Int, intent: Intent?): GooglePayLauncher.Result
Content copied to clipboard