SepaDebitPaymentMethodDetails constructor
- @FreezedUnionValue('sepa_debit')
- @JsonKey(name: "sepa_debit") @ElementConverter() required Element sepaDebit,
- @JsonKey(name: "billing_details") SepaBillingDetails? 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('sepa_debit')
const factory SepaDebitPaymentMethodDetails({
/// Uses the provided card or cardNumber Element for confirmation.
@JsonKey(name: "sepa_debit") @ElementConverter() required Element sepaDebit,
/// The customer's billing_details. name and email are required.
@JsonKey(name: "billing_details") SepaBillingDetails? billingDetails,
}) = _SepaDebitPaymentMethodDetails;