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');
    }
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');
    }
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' ) ; }
Creates a get transaction through the HpsCreditService
Creates a get transaction through the HpsCreditService