Config
class Config @JvmOverloads constructor(val environment: GooglePayEnvironment, val merchantCountryCode: String, val merchantName: String, var isEmailRequired: Boolean = false, var billingAddressConfig: GooglePayPaymentMethodLauncher.BillingAddressConfig = BillingAddressConfig(), var existingPaymentMethodRequired: Boolean = true, var allowCreditCards: Boolean = true, val additionalEnabledNetworks: List<String> = emptyList()) : Parcelable
Constructors
Link copied to clipboard
constructor(environment: GooglePayEnvironment, merchantCountryCode: String, merchantName: String, isEmailRequired: Boolean = false, billingAddressConfig: GooglePayPaymentMethodLauncher.BillingAddressConfig = BillingAddressConfig(), existingPaymentMethodRequired: Boolean = true, allowCreditCards: Boolean = true, additionalEnabledNetworks: List<String> = emptyList())
Properties
Link copied to clipboard
Set this property to enable other card networks in additional to the default list, such as "INTERAC"
Link copied to clipboard
Set to false if you don't support credit cards.
Link copied to clipboard
Billing address collection configuration.
Link copied to clipboard
Link copied to clipboard
If true, Google Pay is considered ready if the customer's Google Pay wallet has existing payment methods.
Link copied to clipboard
Flag to indicate whether Google Pay collect the customer's email address.
Link copied to clipboard
Link copied to clipboard