Args

data class Args : Parcelable

Args for launching GooglePayPaymentMethodLauncherContract to create a PaymentMethod.

Parameters

config

the GooglePayPaymentMethodLauncher.Config for this transaction

currencyCode

ISO 4217 alphabetic currency code. (e.g. "USD", "EUR")

amount

if the amount of the transaction is unknown at this time, set to 0.

transactionId

a unique ID that identifies a transaction attempt. Merchants may use an existing ID or generate a specific one for Google Pay transaction attempts. This field is required when you send callbacks to the Google Transaction Events API.

Constructors

Link copied to clipboard
constructor(config: GooglePayPaymentMethodLauncher.Config, currencyCode: String, amount: Int, transactionId: String? = null)

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)