GooglePayConfig class
Configuration for enabling Google Pay on Android.
Constructors
- GooglePayConfig({GooglePayEnvironment environment = GooglePayEnvironment.test, required String merchantGatewayId, bool isEmailRequired = false, BillingAddressConfig billingAddressConfig = const BillingAddressConfig()})
- Creates a new configuration for Google Pay.
Properties
- billingAddressConfig → BillingAddressConfig
-
Configuration for the billing address.
final
- environment → GooglePayEnvironment
-
The environment for Google Pay.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEmailRequired → bool
-
Indicates whether the user's email is required.
final
- merchantGatewayId → String
-
Your Google Pay merchant gateway ID.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> - Converts the config to a map for the method channel.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited