PHP code example of jstack-eu / newyse
1. Go to this page and download the library: Download jstack-eu/newyse library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
jstack-eu / newyse example snippets
stack\Newyse\Newyse;
$newyse = new Newyse('username', 'pa$$word', 'CHANNEL', 'http://scws.newyse.com/nwsservice_[COMPANY_NAME]_live/nwsws/newyseservice?wsdl');
/** @var Jstack\Newyse\Model\AccommodationType[] $accommodationTypes */
$accommodationTypes = $newyse->getAccommodationTypes();