# Eurostop library

This library supports the following Eurostop webservices

* IFulfilment
* ILoyalty
* IOrganisation
* IProducts
* ISales
* IStatus
* IStocks
* Security

All classes are autogenerated using wsdl2phpgenerator-cli (https://github.com/wsdl2phpgenerator/wsdl2phpgenerator-cli)

```bash
cd src

We need to have the security part of the library in place to build the rest of the library
usage 
     * php -r 'include "EurostopBuilder.php"; EurostopBuilder::securitySetup("https://retailtest.trotters.co.uk:6500/e-interface/", "Eurostop", "demo.talisman-innovations.com", 8888);'
     * 
     * @param string $baseUrl 'https://retailtest.trotters.co.uk:6500/e-interface/'
     * @param string $dir 'Eurostop'
     * @param string $proxy 'demo.talisman-innovations.com'
     * @param int $proxyPort  8888

Then to build the rest of the lib run

usage 
     * php -r 'include "EurostopBuilder.php"; EurostopBuilder::libSetup("https://retailtest.trotters.co.uk:6500/e-interface/", "Eurostop", "Shopify", "test", "demo.talisman-innovations.com", 8888);'
     * 
     * @param string $baseUrl 'https://retailtest.trotters.co.uk:6500/e-interface/'
     * @param string $dir 'Eurostop'
     * @param string $username 'Shopify'
     * @param string $password 'test'
     * @param string $proxy 'demo.talisman-innovations.com'
     * @param int $proxyPort  8888

```
