<commit_before><?php
/**
 * Created by PhpStorm.
 * User: joro
 * Date: 16.5.2017 г.
 * Time: 15:12 ч.
 */

namespace Omniship\Econt;

use Carbon\Carbon;
use DOMDocument;
use Omniship\Econt\Helper\XmlConstructor;
use Omniship\Econt\Lib\Request\Parcels;
use Omniship\Econt\Lib\Response\CancelParcel;
use Omniship\Econt\Lib\Response\City;
use Omniship\Econt\Lib\Response\Client\ClientAddressBag;
use Omniship\Econt\Lib\Response\Client\ClientInfo;
use Omniship\Econt\Lib\Response\CodPayment;
use Omniship\Econt\Lib\Response\Country;
use Omniship\Econt\Lib\Response\Office\Office;
use Omniship\Econt\Lib\Response\PostBox;
use Omniship\Econt\Lib\Response\Quarter;
use Omniship\Econt\Lib\Response\Region;
use Omniship\Econt\Lib\Response\Shipment;
use Omniship\Econt\Lib\Response\Street;
use Omniship\Econt\Lib\Response\Zone;
use Omniship\Econt\Lib\Response\Client\Client AS ResponseClient;
use Omniship\Econt\Lib\Response\Parcel;
use Omniship\Helper\Collection;
use SimpleXMLElement;
use GuzzleHttp\Client AS HttpClient;

class Client
{

    /**
     * @var string
     */
    protected $username;

    /**
     * @var string
     */
    protected $password;

    protected $test_mode = false;

    protected $error;

    protected $client_info;

    const SERVICE_TESTING_URL = 'http://demo.econt.com/e-econt/xml_service_tool.php';
    const SERVICE_PRODUCTION_URL = 'http://www.econt.com/e-econt/xml_service_tool.php';

    const PARCEL_TESTING_URL = 'http://demo.econt.com/e-econt/xml_parcel_import2.php';
    const PARCEL_PRODUCTION_URL = 'http://www.econt.com/e-econt/xml_parcel_import2.php';

    const MEDIATOR = 'simexis';

    public function __construct($username, $password)<commit_msg>change MEDIATOR<commit_after><?php
/**
 * Created by PhpStorm.
 * User: joro
 * Date: 16.5.2017 г.
 * Time: 15:12 ч.
 */

namespace Omniship\Econt;

use Carbon\Carbon;
use DOMDocument;
use Omniship\Econt\Helper\XmlConstructor;
use Omniship\Econt\Lib\Request\Parcels;
use Omniship\Econt\Lib\Response\CancelParcel;
use Omniship\Econt\Lib\Response\City;
use Omniship\Econt\Lib\Response\Client\ClientAddressBag;
use Omniship\Econt\Lib\Response\Client\ClientInfo;
use Omniship\Econt\Lib\Response\CodPayment;
use Omniship\Econt\Lib\Response\Country;
use Omniship\Econt\Lib\Response\Office\Office;
use Omniship\Econt\Lib\Response\PostBox;
use Omniship\Econt\Lib\Response\Quarter;
use Omniship\Econt\Lib\Response\Region;
use Omniship\Econt\Lib\Response\Shipment;
use Omniship\Econt\Lib\Response\Street;
use Omniship\Econt\Lib\Response\Zone;
use Omniship\Econt\Lib\Response\Client\Client AS ResponseClient;
use Omniship\Econt\Lib\Response\Parcel;
use Omniship\Helper\Collection;
use SimpleXMLElement;
use GuzzleHttp\Client AS HttpClient;

class Client
{

    /**
     * @var string
     */
    protected $username;

    /**
     * @var string
     */
    protected $password;

    protected $test_mode = false;

    protected $error;

    protected $client_info;

    const SERVICE_TESTING_URL = 'http://demo.econt.com/e-econt/xml_service_tool.php';
    const SERVICE_PRODUCTION_URL = 'http://www.econt.com/e-econt/xml_service_tool.php';

    const PARCEL_TESTING_URL = 'http://demo.econt.com/e-econt/xml_parcel_import2.php';
    const PARCEL_PRODUCTION_URL = 'http://www.econt.com/e-econt/xml_parcel_import2.php';

    const MEDIATOR = 'CLOUDCART';

    public function __construct($username, $password)
{'fraction_non_alphanumeric': 0.12344949793266391, 'fraction_numerical': 0.00767867690490254, 'mean_word_length': 4.21076923076923, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 8}, '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': '3045983', 'n_tokens_mistral': 1314, 'n_tokens_neox': 1263, 'n_words': 196}