/**
  * Sestaveni retezce pro podpis vysledku stavu platby.
  *
  * @param object $paymentStatus - objekt stavu platby
  * @param string $secureKey - kryptovaci klic prideleny prijemci, urceny k podepisovani komunikace
  * @return string retezec pro podpis
  */
 public static function concatPaymentStatus($paymentStatus, $secureKey)
 {
     $preAuthorization = GopayHelper::castBooleanForWS($paymentStatus->preAuthorization);
     $recurrentPayment = GopayHelper::castBooleanForWS($paymentStatus->recurrentPayment);
     return $paymentStatus->targetGoId . "|" . trim($paymentStatus->productName) . "|" . $paymentStatus->totalPrice . "|" . $paymentStatus->currency . "|" . trim($paymentStatus->orderNumber) . "|" . $recurrentPayment . "|" . $paymentStatus->parentPaymentSessionId . "|" . $preAuthorization . "|" . $paymentStatus->result . "|" . $paymentStatus->sessionState . "|" . $paymentStatus->sessionSubState . "|" . $paymentStatus->paymentChannel . "|" . $secureKey;
 }