IsGooglePaySupportedParams constructor
- @JsonSerializable(explicitToJson: true)
const
IsGooglePaySupportedParams(
{ - @Default(false) bool testEnv,
- @Default(false) bool existingPaymentMethodRequired,
})
Implementation
@JsonSerializable(explicitToJson: true)
const factory IsGooglePaySupportedParams({
/// Flag to use test environment or live environment.
///
/// Defaults to `false`.
@Default(false) bool testEnv,
/// When set to true Google pay is only considered ready in case the
/// customers google Pay wallet has an existing payment method configured.
///
/// Defaults to `false`.
@Default(false) bool existingPaymentMethodRequired,
}) = _IsGooglePaySupportedParams;