GooglePayInitParams class

Config parameters used to intialize google pay.

Annotations
  • @freezed

Constructors

GooglePayInitParams({required String merchantName, required String countryCode, @Default(false) bool testEnv, BillingAddressConfig? billingAddressConfig, @Default(false) bool isEmailRequired, @Default(true) bool existingPaymentMethodRequired})
const
factory
GooglePayInitParams.fromJson(Map<String, dynamic> json)
factory

Properties

billingAddressConfig BillingAddressConfig?
Configuration regarding collection of billing address,
no setterinherited
copyWith → $GooglePayInitParamsCopyWith<GooglePayInitParams>
no setterinherited
countryCode String
ISO country code of the merchant
no setterinherited
existingPaymentMethodRequired bool
When true Google Pay is considered ready if the customers's Google Pay wallet has existing payment methods.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isEmailRequired bool
Flag to indicate wheter Google Pay should collect email of the customer.
no setterinherited
merchantName String
Merchant name
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
testEnv bool
Flag to use test environment or live environment.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited