original_string: public function capture()
      {
          $storage = new Storage();
          $config = new Config($storage->getAccount());
  
          if ($config->getDriver() == 'database') {
              return PayuPayment::find($storage->getPayment());
          }
  
          return new PayuPayment($storage->getPayment());
      }
code: public function capture()
      {
          $storage = new Storage();
          $config = new Config($storage->getAccount());
  
          if ($config->getDriver() == 'database') {
              return PayuPayment::find($storage->getPayment());
          }
  
          return new PayuPayment($storage->getPayment());
      }
code_tokens: public function capture ( ) { $ storage = new Storage ( ) ; $ config = new Config ( $ storage -> getAccount ( ) ) ; if ( $ config -> getDriver ( ) == 'database' ) { return PayuPayment :: find ( $ storage -> getPayment ( ) ) ; } return new PayuPayment ( $ storage -> getPayment ( ) ) ; }
docstring: Receive Payment and Return Payment Model.
  
  @return PayuPayment
docstring_tokens: Receive Payment and Return Payment Model .