IdealPaymentMethodDetails constructor
- @FreezedUnionValue('ideal')
- @ElementConverter() required Element ideal,
- @JsonKey(name: "billing_details") BillingDetails? billingDetails,
Use stripe.confirmCardPayment with payment data from an Element by
passing a card or cardNumber Element as payment_methodcard
in the
data argument.
The new PaymentMethod will be created with data collected by the Element and will be used to confirm the PaymentIntent.
Implementation
@FreezedUnionValue('ideal')
const factory IdealPaymentMethodDetails({
/// Uses the provided card or cardNumber Element for confirmation.
@ElementConverter() required Element ideal,
/// The billing_details associated with the card.
@JsonKey(name: "billing_details") BillingDetails? billingDetails,
}) = _IdealPaymentMethodDetails;