SetupIntentPaymentMethodOptionsSepaDebit.fromJson constructor

SetupIntentPaymentMethodOptionsSepaDebit.fromJson(
  1. Object? json
)

Implementation

factory SetupIntentPaymentMethodOptionsSepaDebit.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return SetupIntentPaymentMethodOptionsSepaDebit(
      mandateOptions: map['mandate_options'] == null
          ? null
          : SetupIntentPaymentMethodOptionsMandateOptionsSepaDebit.fromJson(
              map['mandate_options']));
}