InvoicePaymentMethodOptionsAcssDebitMandateOptions.fromJson constructor

InvoicePaymentMethodOptionsAcssDebitMandateOptions.fromJson(
  1. Object? json
)

Implementation

factory InvoicePaymentMethodOptionsAcssDebitMandateOptions.fromJson(
    Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return InvoicePaymentMethodOptionsAcssDebitMandateOptions(
      transactionType: map['transaction_type'] == null
          ? null
          : CheckoutAcssDebitMandateOptionsTransactionType.fromJson(
              map['transaction_type']));
}