PresentPaymentSheetParameters class

Parameters used to display the payment sheet.

Annotations
  • @freezed
  • @Deprecated('Parameters are now inherited from initPaymentSheet')

Constructors

PresentPaymentSheetParameters({required String clientSecret, @Default(false) bool confirmPayment})
const
factory
PresentPaymentSheetParameters.fromJson(Map<String, dynamic> json)
factory

Properties

clientSecret String
Key used for client-side retrieval using a publishable key.
no setterinherited
confirmPayment bool
Flag that determines whether or not to present payment options or directly goes to confirm payment.
no setterinherited
copyWith → $PresentPaymentSheetParametersCopyWith<PresentPaymentSheetParameters>
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