Config

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

Constructors

Link copied to clipboard
fun Config(    environment: GooglePayEnvironment,     merchantCountryCode: String,     merchantName: String,     isEmailRequired: Boolean = false,     billingAddressConfig: GooglePayLauncher.BillingAddressConfig = BillingAddressConfig(),     existingPaymentMethodRequired: Boolean = true)

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