PaymentIntentPaymentMethodOptionsSepaDebit.fromJson constructor
PaymentIntentPaymentMethodOptionsSepaDebit.fromJson(
- Object? json
Implementation
factory PaymentIntentPaymentMethodOptionsSepaDebit.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PaymentIntentPaymentMethodOptionsSepaDebit(
mandateOptions: map['mandate_options'] == null
? null
: PaymentIntentPaymentMethodOptionsMandateOptionsSepaDebit.fromJson(
map['mandate_options']),
setupFutureUsage: map['setup_future_usage'] == null
? null
: CheckoutAcssDebitPaymentMethodOptionsSetupFutureUsage.fromJson(
map['setup_future_usage']),
);
}