Config

data class Config @JvmOverloads constructor(environment: GooglePayEnvironment, merchantCountryCode: String, merchantName: String, isEmailRequired: Boolean, billingAddressConfig: GooglePayLauncher.BillingAddressConfig, existingPaymentMethodRequired: Boolean) : Parcelable

Functions

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

Properties

Link copied to clipboard

Billing address collection configuration.

Link copied to clipboard
val environment: GooglePayEnvironment
Link copied to clipboard
var existingPaymentMethodRequired: Boolean = true

If true, Google Pay is considered ready if the customer's Google Pay wallet has existing payment methods.

Link copied to clipboard
var isEmailRequired: Boolean = false

Flag to indicate whether Google Pay collect the customer's email address.

Link copied to clipboard
val merchantCountryCode: String
Link copied to clipboard
val merchantName: String