GooglePayParams class

Annotations
  • @freezed

Constructors

GooglePayParams({@Default(false) bool testEnv, required String merchantCountryCode, required String currencyCode, String? merchantName, bool? isEmailRequired, bool? allowCreditCards})
const
factory
GooglePayParams.fromJson(Map<String, dynamic> json)
factory

Properties

allowCreditCards bool?
Set to false if you don't support credit cards.
no setterinherited
copyWith → $GooglePayParamsCopyWith<GooglePayParams>
no setterinherited
currencyCode String
ISO 4217 alphabetic currency code.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isEmailRequired bool?
Set to true to request an email address.
no setterinherited
merchantCountryCode String
ISO 3166-1 alpha-2 country code where the transaction is processed.
no setterinherited
merchantName String?
Merchant name, displayed in the Google Pay sheet.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
testEnv bool
Set to true to run in a test environment with relaxed application / merchant requirements. This environment is suggested for early development and for easily testing SDK.
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