-
Notifications
You must be signed in to change notification settings - Fork 14
Availability Search
Salma Abdelhady edited this page Nov 30, 2017
·
6 revisions
The authority information, required by all Web Service operations, combines authentication and configuration:
`$auth = new RoomsXMLAuthentication();
$auth->setOrg(**); //Agency ID
$auth->setUserName(***); //Username
$auth->setPassword(***); //Password
$auth->setVersion('1.26');
$auth->setCurrency('USD');
$auth->setLanguage('en');//optional
$auth->setDebugMode(true);//optional
$auth->setTestMode(true);//optional
$availability = new AvailabilitySearch($auth);`