CustomerBalanceResourceCashBalanceTransactionResourceAdjustedForOverdraft.fromJson constructor

CustomerBalanceResourceCashBalanceTransactionResourceAdjustedForOverdraft.fromJson(
  1. Object? json
)

Implementation

factory CustomerBalanceResourceCashBalanceTransactionResourceAdjustedForOverdraft.fromJson(
    Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return CustomerBalanceResourceCashBalanceTransactionResourceAdjustedForOverdraft(
    balanceTransaction:
        BalanceTransactionOrId.fromJson(map['balance_transaction']),
    linkedTransaction: CustomerCashBalanceTransactionOrId.fromJson(
        map['linked_transaction']),
  );
}