original_string: public function execute()
      {
          parent::execute();
  
          if ($this->transactionId <= 0) {
              throw new HpsArgumentException('Invalid Transaction Id',HpsExceptionCodes::INVALID_ORIGINAL_TRANSACTION);
          }
  
          $xml = new DOMDocument();
          $hpsTransaction = $xml->createElement('hps:Transaction');
          $hpsReportTxnDetail = $xml->createElement('hps:ReportTxnDetail');
          $hpsReportTxnDetail->appendChild($xml->createElement('hps:TxnId', $this->transactionId));
          $hpsTransaction->appendChild($hpsReportTxnDetail);
  
          return $this->service->_submitTransaction($hpsTransaction, 'ReportTxnDetail');
      }
code: public function execute()
      {
          parent::execute();
  
          if ($this->transactionId <= 0) {
              throw new HpsArgumentException('Invalid Transaction Id',HpsExceptionCodes::INVALID_ORIGINAL_TRANSACTION);
          }
  
          $xml = new DOMDocument();
          $hpsTransaction = $xml->createElement('hps:Transaction');
          $hpsReportTxnDetail = $xml->createElement('hps:ReportTxnDetail');
          $hpsReportTxnDetail->appendChild($xml->createElement('hps:TxnId', $this->transactionId));
          $hpsTransaction->appendChild($hpsReportTxnDetail);
  
          return $this->service->_submitTransaction($hpsTransaction, 'ReportTxnDetail');
      }
code_tokens: public function execute ( ) { parent :: execute ( ) ; if ( $ this -> transactionId <= 0 ) { throw new HpsArgumentException ( 'Invalid Transaction Id' , HpsExceptionCodes :: INVALID_ORIGINAL_TRANSACTION ) ; } $ xml = new DOMDocument ( ) ; $ hpsTransaction = $ xml -> createElement ( 'hps:Transaction' ) ; $ hpsReportTxnDetail = $ xml -> createElement ( 'hps:ReportTxnDetail' ) ; $ hpsReportTxnDetail -> appendChild ( $ xml -> createElement ( 'hps:TxnId' , $ this -> transactionId ) ) ; $ hpsTransaction -> appendChild ( $ hpsReportTxnDetail ) ; return $ this -> service -> _submitTransaction ( $ hpsTransaction , 'ReportTxnDetail' ) ; }
docstring: Creates a get transaction through the HpsCreditService
docstring_tokens: Creates a get transaction through the HpsCreditService