public function addRegisterToken($hash_in) { $hash_out = Transactions::createRegisterTokenHash($hash_in); $choice_hash = array($hash_out['accountNumber'], $hash_out['echeckForToken'], $hash_out['paypageRegistrationId']); $this->addTransaction($hash_out, $hash_in, 'registerTokenRequest', $choice_hash); $this->counts_and_amounts['tokenRegistration']['count'] += 1; }