public function addReserveDebit($hash_in) { $hash_out = Transactions::createReserveDebitHash($hash_in); $this->addTransaction($hash_out, $hash_in, 'reserveDebit'); $this->counts_and_amounts['reserveDebit']['count'] += 1; $this->counts_and_amounts['reserveDebit']['amount'] += $hash_out['amount']; }