public function addUnload($hash_in) { $hash_out = Transactions::createUnloadHash($hash_in); $this->addTransaction($hash_out, $hash_in, "unload"); $this->counts_and_amounts['unload']['count'] += 1; $this->counts_and_amounts['unload']['amount'] += $hash_out['amount']; }
public function unload($hash_in) { $hash_out = Transactions::createUnloadHash($hash_in); $txnResponse = $this->processRequest($hash_out, $hash_in, "unload"); return $txnResponse; }