original_string: public function execute()
      {
          parent::execute();
  
          $xml = new DOMDocument();
          $hpsTransaction = $xml->createElement('hps:Transaction');
          $hpsCreditVoid = $xml->createElement('hps:CreditVoid');
          $hpsCreditVoid->appendChild($xml->createElement('hps:GatewayTxnId', $this->transactionId));
          $hpsTransaction->appendChild($hpsCreditVoid);
  
          return $this->service->_submitTransaction($hpsTransaction, 'CreditVoid', $this->clientTransactionId);
      }
code: public function execute()
      {
          parent::execute();
  
          $xml = new DOMDocument();
          $hpsTransaction = $xml->createElement('hps:Transaction');
          $hpsCreditVoid = $xml->createElement('hps:CreditVoid');
          $hpsCreditVoid->appendChild($xml->createElement('hps:GatewayTxnId', $this->transactionId));
          $hpsTransaction->appendChild($hpsCreditVoid);
  
          return $this->service->_submitTransaction($hpsTransaction, 'CreditVoid', $this->clientTransactionId);
      }
code_tokens: public function execute ( ) { parent :: execute ( ) ; $ xml = new DOMDocument ( ) ; $ hpsTransaction = $ xml -> createElement ( 'hps:Transaction' ) ; $ hpsCreditVoid = $ xml -> createElement ( 'hps:CreditVoid' ) ; $ hpsCreditVoid -> appendChild ( $ xml -> createElement ( 'hps:GatewayTxnId' , $ this -> transactionId ) ) ; $ hpsTransaction -> appendChild ( $ hpsCreditVoid ) ; return $ this -> service -> _submitTransaction ( $ hpsTransaction , 'CreditVoid' , $ this -> clientTransactionId ) ; }
docstring: Creates a void transaction through the HpsCreditService
docstring_tokens: Creates a void transaction through the HpsCreditService