PaymentSheetGooglePay constructor
- @JsonSerializable(explicitToJson: true)
const
PaymentSheetGooglePay(
{ - required String merchantCountryCode,
- String? currencyCode,
- @Default(false) bool testEnv,
})
Implementation
@JsonSerializable(explicitToJson: true)
const factory PaymentSheetGooglePay({
///The two-letter ISO 3166 code of the country of your business, e.g. "US"
required String merchantCountryCode,
/// 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.
String? currencyCode,
/// 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.
@Default(false) bool testEnv,
}) = _PaymentSheetGooglePay;