InvoicePaymentMethodOptionsAcssDebit.fromJson constructor

InvoicePaymentMethodOptionsAcssDebit.fromJson(
  1. Object? json
)

Implementation

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