original_string: protected function processProcessorResponse($response)
      {
          $statusCode = isset($response->StatusCode)
                      ? (string)$response->StatusCode
                      : null;
  
          if ($statusCode == null || $statusCode == 'Y') {
              return;
          }
  
          throw new HpsException((string)$response->ErrorDesc);
      }
code: protected function processProcessorResponse($response)
      {
          $statusCode = isset($response->StatusCode)
                      ? (string)$response->StatusCode
                      : null;
  
          if ($statusCode == null || $statusCode == 'Y') {
              return;
          }
  
          throw new HpsException((string)$response->ErrorDesc);
      }
code_tokens: protected function processProcessorResponse ( $ response ) { $ statusCode = isset ( $ response -> StatusCode ) ? ( string ) $ response -> StatusCode : null ; if ( $ statusCode == null || $ statusCode == 'Y' ) { return ; } throw new HpsException ( ( string ) $ response -> ErrorDesc ) ; }
docstring: Processes the response from MasterPass
  
  @param object $response response from Cardinal
  
  @return null
  @throws \HpsException
docstring_tokens: Processes the response from MasterPass