IsGooglePaySupportedParams constructor
- @JsonSerializable(explicitToJson: true)
const
IsGooglePaySupportedParams(
{ - @Default(false) bool testEnv,
- @Default(false) bool existingPaymentMethodRequired,
- @Default(true) bool supportsTapToPay,
})
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,
// When set to true it allow users without NFC-enabled devices to add cards to the wallet.
//
//NFC is required for paying in stores. Defaults to `true`. Set this to `false`
@Default(true) bool supportsTapToPay,
}) = _IsGooglePaySupportedParams;