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