GooglePayLauncherContract
class GooglePayLauncherContract : ActivityResultContract<GooglePayLauncherContract.Args, GooglePayLauncher.Result>
Deprecated
This class isn't meant for public use and will be removed in a future release. Use GooglePayLauncher directly.
Types
Link copied to clipboard
Link copied to clipboard
data class PaymentIntentArgs @JvmOverloads constructor(clientSecret: String, config: GooglePayLauncher.Config, label: String? = null) : GooglePayLauncherContract.Args
Args for launching GooglePayLauncherContract to confirm a PaymentIntent.
Link copied to clipboard
data class SetupIntentArgs @JvmOverloads constructor(clientSecret: String, config: GooglePayLauncher.Config, currencyCode: String, amount: Long? = null, label: String? = null) : GooglePayLauncherContract.Args
Args for launching GooglePayLauncherContract to confirm a SetupIntent.
Functions
Link copied to clipboard
Link copied to clipboard
open fun getSynchronousResult(context: Context, input: GooglePayLauncherContract.Args): ActivityResultContract.SynchronousResult<GooglePayLauncher.Result>?
Link copied to clipboard