- /**
- * Set sign hash into the request object.
- * All needed fields should be placed in the object fist.
- *
- * @return $this
- */
- public function signRequestData()
- {
- $fpTimestamp = time();
- $hash = $this->generateRequestSign(
- $this->getXLogin(),
- $this->_getTransactionKey(),
- $this->getXAmount(),
- $this->getXCurrencyCode(),
- $this->getXFpSequence(),
- $fpTimestamp
- );
- $this->setXFpTimestamp($fpTimestamp);
- $this->setXFpHash($hash);
- return $this;
- }