GooglePayConfig constructor

GooglePayConfig({
  1. GooglePayEnvironment environment = GooglePayEnvironment.test,
  2. required String merchantGatewayId,
  3. bool isEmailRequired = false,
  4. BillingAddressConfig billingAddressConfig = const BillingAddressConfig(),
})

Creates a new configuration for Google Pay.

Implementation

GooglePayConfig({
  this.environment = GooglePayEnvironment.test,
  required this.merchantGatewayId,
  this.isEmailRequired = false,
  this.billingAddressConfig = const BillingAddressConfig(),
});