コード例 #1
0
ファイル: BatchRequest.php プロジェクト: huynp/Critical
 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'];
 }
コード例 #2
0
 public function unload($hash_in)
 {
     $hash_out = Transactions::createUnloadHash($hash_in);
     $txnResponse = $this->processRequest($hash_out, $hash_in, "unload");
     return $txnResponse;
 }