ConfirmCardPaymentData class

Annotations
  • @freezed

Constructors

ConfirmCardPaymentData({@JsonKey(name: "payment_method") @CardPaymentMethodRefConverter() CardPaymentMethodRef? paymentMethod, ShippingDetails? shipping, @JsonKey(name: "return_url") String? returnUrl, @JsonKey(name: "receipt_email") String? receiptEmail, @JsonKey(name: "setup_future_usage") PaymentIntentSetupFutureUsage? setupFutureUsage, @JsonKey(name: "payment_method_options") dynamic paymentMethodOptions})
const
factory
ConfirmCardPaymentData.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $ConfirmCardPaymentDataCopyWith<ConfirmCardPaymentData>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
paymentMethod PaymentMethodRef<CardPaymentMethodDetails>?
Either the id of an existing PaymentMethod, or an object containing data to create a PaymentMethod with. See the use case sections below for details.
no setterinherited
paymentMethodOptions → dynamic
An object containing payment-method-specific configuration to confirm the PaymentIntent with.
no setterinherited
receiptEmail String?
Email address that the receipt for the resulting payment will be sent to.
no setterinherited
returnUrl String?
If you are handling next actions yourself, pass in a return_url. If the subsequent action is redirect_to_url, this URL will be used on the return path for the redirect.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setupFutureUsage PaymentIntentSetupFutureUsage?
Indicates that you intend to make future payments with this PaymentIntent's payment method.
no setterinherited
shipping ShippingDetails?
The shipping details for the payment, if collected.
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