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