GooglePayLauncherContract

Deprecated

This class isn't meant for public use and will be removed in a future release. Use GooglePayLauncher directly.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
sealed class Args : Parcelable
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
open override fun createIntent(context: Context, input: GooglePayLauncherContract.Args): Intent
Link copied to clipboard
open override fun parseResult(resultCode: Int, intent: Intent?): GooglePayLauncher.Result