src/Factory/ResponseBase.php
public function setStatusFailed($sReasonMsg, $sReasonCode, $sUserFeedback = '')
    {
        $this->sErrorMsg  = trim($sReasonMsg);
        $this->sErrorCode = trim($sReasonCode);
        $this->sErrorUser = trim($sUserFeedback);

        return $this->setStatus(self::STATUS_FAILED);
    }
public function setStatusFailed($sReasonMsg, $sReasonCode, $sUserFeedback = '')
    {
        $this->sErrorMsg  = trim($sReasonMsg);
        $this->sErrorCode = trim($sReasonCode);
        $this->sErrorUser = trim($sUserFeedback);

        return $this->setStatus(self::STATUS_FAILED);
    }
public function setStatusFailed ( $ sReasonMsg , $ sReasonCode , $ sUserFeedback = '' ) { $ this -> sErrorMsg = trim ( $ sReasonMsg ) ; $ this -> sErrorCode = trim ( $ sReasonCode ) ; $ this -> sErrorUser = trim ( $ sUserFeedback ) ; return $ this -> setStatus ( self :: STATUS_FAILED ) ; }
Set the status as FAILED

@param string $sReasonMsg    The exception message, logged against the payment and not shown to the customer
@param string $sReasonCode   The exception code, logged against the payment and not shown to the customer
@param string $sUserFeedback The message to show to the user explaining the error

@return string
Set the status as FAILED