ConfirmPaymentOptions class

Annotations
  • @freezed

Constructors

ConfirmPaymentOptions({@ElementsConverter() required Elements elements, required ConfirmPaymentParams confirmParams, PaymentConfirmationRedirect? redirect})
const
factory
ConfirmPaymentOptions.fromJson(Map<String, dynamic> json)
factory

Properties

confirmParams ConfirmPaymentParams
Parameters that will be passed on to the Stripe API. Refer to the Payment Intents API for a full list of parameters.
no setterinherited
copyWith → $ConfirmPaymentOptionsCopyWith<ConfirmPaymentOptions>
no setterinherited
elements Elements
The Elements instance that was used to create the Payment Element.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
redirect PaymentConfirmationRedirect?
By default, stripe.confirmPayment will always redirect to your return_url after a successful confirmation. If you set redirect: "if_required", then stripe.confirmPayment will only redirect if your user chooses a redirect-based payment method.
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