PaymentSheetGooglePay class

Parameters related to the Payment sheet Google Pay config.

Annotations
  • @freezed

Constructors

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

Properties

copyWith → $PaymentSheetGooglePayCopyWith<PaymentSheetGooglePay>
no setterinherited
currencyCode String?
The three-letter ISO 4217 alphabetic currency code, e.g. "USD" or "EUR". Required in order to support Google Pay when processing a Setup Intent.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
merchantCountryCode String
The two-letter ISO 3166 code of the country of your business, e.g. "US"
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
testEnv bool
Whether or not to use the google pay test environment. Set to true until you have applied for and been granted access to the Production 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