<commit_before><?php
namespace app\knet;
/*
 * e24PaymentPipe
 *
 *
 * e24payment-php is an implementation in PHP of E24PaymentPipe 
 * java classes. It allows to connect to online credit card payment
 * from http://www.aciworldwide.com/.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public License
 * version 2.1 as published by the Free Software Foundation.
 * 
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details at 
 * http://www.gnu.org/copyleft/lgpl.html
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 *
 */

class e24PaymentPipe {
    var $SUCCESS = 0;
    var $FAILURE = -1;
    var $BUFFER = 2320;
    var $strIDOpen = "<id>";
    var $strPasswordOpen = "<password>";
    var $strWebAddressOpen = "<webaddress>";
    var $strPortOpen = "<port>";
    var $strContextOpen = "<context>";
    var $strIDClose = "</id>";
    var $strPasswordClose = "</password>";
    var $strWebAddressClose = "</webaddress>";
    var $strPortClose = "</port>";
    var $strContextClose = "</context>";
    var $webAddress;
    var $port;
    var $id;
    var $password;
    var $passwordHash;
    var $action;
    var $transId;
    var $amt;
    var $responseURL;
    var $trackId;
    var $udf1;
    var $udf2;
    var $udf3;
    var $udf4;
    var $udf5;
    var $paymentPage;
    var $paymentId;
    var $result;
    var $auth;
    var $ref;
    var $avr;
    var $date;
    var $currency;
    var $errorURL;
    var $language;
    var $context;
    var $resourcePath;
    var $alias;
    var $error;
    var $rawResponse;
    var $debugMsg;
    var $arr = array();

    function e24PaymentPipe() {
        $this->webAddress = "";
        $this->port = "";
        $this->id = "";
        $this->password = "";
        $this->action = ""; // 1 = purchase
        $this->transId = "";
        $this->amt = "";
        $this->responseURL = "";
        $this->trackId = "";
        $this->udf1 = "";
        $this->udf2 = "";
        $this->udf3 = "";
        $this->udf4 = "";
        $this->udf5 = "";
        $this->paymentPage = "";
        $this->paymentId = "";
        $this->result = 0;
        $this->auth = "";
        $this->ref = "";
        $this->avr = "";
        $this->date = "";
        $this->currency = "";
        $this->errorURL = "";
        $this->language = "";
        $this->context = "";
        $this->resourcePath = "";
        $this->alias = "";
        $this->error = "";
        $this->rawResponse = "";
        $this->debugMsg = "";
    }<commit_msg>php v 7<commit_after><?php
namespace app\knet;
/*
 * e24PaymentPipe
 *
 *
 * e24payment-php is an implementation in PHP of E24PaymentPipe 
 * java classes. It allows to connect to online credit card payment
 * from http://www.aciworldwide.com/.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public License
 * version 2.1 as published by the Free Software Foundation.
 * 
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details at 
 * http://www.gnu.org/copyleft/lgpl.html
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 *
 */

class e24PaymentPipe {
    var $SUCCESS = 0;
    var $FAILURE = -1;
    var $BUFFER = 2320;
    var $strIDOpen = "<id>";
    var $strPasswordOpen = "<password>";
    var $strWebAddressOpen = "<webaddress>";
    var $strPortOpen = "<port>";
    var $strContextOpen = "<context>";
    var $strIDClose = "</id>";
    var $strPasswordClose = "</password>";
    var $strWebAddressClose = "</webaddress>";
    var $strPortClose = "</port>";
    var $strContextClose = "</context>";
    var $webAddress;
    var $port;
    var $id;
    var $password;
    var $passwordHash;
    var $action;
    var $transId;
    var $amt;
    var $responseURL;
    var $trackId;
    var $udf1;
    var $udf2;
    var $udf3;
    var $udf4;
    var $udf5;
    var $paymentPage;
    var $paymentId;
    var $result;
    var $auth;
    var $ref;
    var $avr;
    var $date;
    var $currency;
    var $errorURL;
    var $language;
    var $context;
    var $resourcePath;
    var $alias;
    var $error;
    var $rawResponse;
    var $debugMsg;
    var $arr = array();

    function __construct() {
        $this->webAddress = "";
        $this->port = "";
        $this->id = "";
        $this->password = "";
        $this->action = ""; // 1 = purchase
        $this->transId = "";
        $this->amt = "";
        $this->responseURL = "";
        $this->trackId = "";
        $this->udf1 = "";
        $this->udf2 = "";
        $this->udf3 = "";
        $this->udf4 = "";
        $this->udf5 = "";
        $this->paymentPage = "";
        $this->paymentId = "";
        $this->result = 0;
        $this->auth = "";
        $this->ref = "";
        $this->avr = "";
        $this->date = "";
        $this->currency = "";
        $this->errorURL = "";
        $this->language = "";
        $this->context = "";
        $this->resourcePath = "";
        $this->alias = "";
        $this->error = "";
        $this->rawResponse = "";
        $this->debugMsg = "";
    }
{'fraction_non_alphanumeric': 0.14925373134328357, 'fraction_numerical': 0.014925373134328358, 'mean_word_length': 2.2551647124511445, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 83, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2371069', 'n_tokens_mistral': 1842, 'n_tokens_neox': 1794, 'n_words': 546}