public function addEcheckSale($hash_in) { $hash_out = Transactions::createEcheckSaleHash($hash_in); $choice_hash = array($hash_out['echeck'], $hash_out['echeckToken']); $this->addTransaction($hash_out, $hash_in, 'echeckSale', $choice_hash); $this->counts_and_amounts['echeckSale']['count'] += 1; $this->counts_and_amounts['echeckSale']['amount'] += $hash_out['amount']; }