PresentGooglePayParams class

Parameters needed for presenting Google Pay.

Annotations
  • @freezed

Constructors

PresentGooglePayParams({required String clientSecret, @Default(false) bool forSetupIntent, String? currencyCode})
const
factory
PresentGooglePayParams.fromJson(Map<String, dynamic> json)
factory

Properties

clientSecret String
The client is secret is used for handling the payment from the Client side.
no setterinherited
copyWith → $PresentGooglePayParamsCopyWith<PresentGooglePayParams>
no setterinherited
currencyCode String?
When forSetupIntent is true it is required to provide a currencyCode.
no setterinherited
forSetupIntent bool
Determines whether to present Google Pay in order to confirm a SetupIntent or a PaymentIntent.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
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