public function getReferringTransactionAttempt($refTransactionId, $transactionOperation) {
    $attempts = $this->getReferringTransactionAttempts($refTransactionId, $transactionOperation);

    if (is_array($attempts) && count($attempts) > 0) {
      return $attempts[0];
    }

    return null;
  }