original_string: protected function processGatewayResponse($response)
      {
          $gatewayRspCode = isset($response->ErrorNo)
                          ? (string)$response->ErrorNo
                          : null;
  
          if ($gatewayRspCode == '0') {
              return;
          }
  
          throw new HpsException((string)$response->ErrorDesc);
      }
code: protected function processGatewayResponse($response)
      {
          $gatewayRspCode = isset($response->ErrorNo)
                          ? (string)$response->ErrorNo
                          : null;
  
          if ($gatewayRspCode == '0') {
              return;
          }
  
          throw new HpsException((string)$response->ErrorDesc);
      }
code_tokens: protected function processGatewayResponse ( $ response ) { $ gatewayRspCode = isset ( $ response -> ErrorNo ) ? ( string ) $ response -> ErrorNo : null ; if ( $ gatewayRspCode == '0' ) { return ; } throw new HpsException ( ( string ) $ response -> ErrorDesc ) ; }
docstring: Processes the response from Cardinal
  
  @param object $response response from Cardinal
  
  @return null
  @throws \HpsException
docstring_tokens: Processes the response from Cardinal