TreasuryReceivedDebitsResourceLinkedFlows.fromJson constructor

TreasuryReceivedDebitsResourceLinkedFlows.fromJson(
  1. Object? json
)

Implementation

factory TreasuryReceivedDebitsResourceLinkedFlows.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return TreasuryReceivedDebitsResourceLinkedFlows(
    debitReversal: map['debit_reversal'] == null
        ? null
        : (map['debit_reversal'] as String),
    inboundTransfer: map['inbound_transfer'] == null
        ? null
        : (map['inbound_transfer'] as String),
    issuingAuthorization: map['issuing_authorization'] == null
        ? null
        : (map['issuing_authorization'] as String),
    issuingTransaction: map['issuing_transaction'] == null
        ? null
        : (map['issuing_transaction'] as String),
    payout: map['payout'] == null ? null : (map['payout'] as String),
  );
}