InvoiceMandateOptions.fromJson constructor

InvoiceMandateOptions.fromJson(
  1. Object? json
)

Implementation

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