====== getRoomTypes method ====== Get a list of ORS room types. ===== Description ===== public array getRoomTypes( string $lang ) ===== Parameters ===== * ''lang (string)'' : language. If not valid language is entered then default ''en'' is used. ===== Return Values ===== Returns a list of room types in ORS: Array ( [0] => Array ( [code] => AP [translation] => apartment ) [1] => Array ( [code] => DZ [translation] => double room ) [2] => Array ( [code] => EZ [translation] => single room ) [3] => Array ( [code] => ST [translation] => studio ) [4] => Array ( [code] => MZ [translation] => room with several beds ) [5] => Array ( [code] => FZ [translation] => family room ) [6] => Array ( [code] => BU [translation] => bungalow ) [7] => Array ( [code] => SU [translation] => suite ) [8] => Array ( [code] => JS [translation] => junior suite ) [9] => Array ( [code] => FW [translation] => holiday apartment ) [10] => Array ( [code] => FS [translation] => family suite ) [11] => Array ( [code] => MW [translation] => car rental ) [12] => Array ( [code] => LK [translation] => by the catalog program ) [13] => Array ( [code] => KF [translation] => cruise ) [14] => Array ( [code] => CP [translation] => camping ) [15] => Array ( [code] => FH [translation] => holiday house ) [16] => Array ( [code] => ZI [translation] => room ) [17] => Array ( [code] => SP [translation] => luxurious room ) [18] => Array ( [code] => 3Z [translation] => triple room ) [19] => Array ( [code] => 4Z [translation] => four room ) [20] => Array ( [code] => BZ [translation] => roulette room ) [21] => Array ( [code] => VI [translation] => villa ) [22] => Array ( [code] => MS [translation] => maisonette ) [23] => Array ( [code] => DX [translation] => deluxe room ) [24] => Array ( [code] => WM [translation] => mobile house ) [25] => Array ( [code] => EZK [translation] => single bed sleeper ) [26] => Array ( [code] => DZK [translation] => double bed sleeper ) [27] => Array ( [code] => EZB [translation] => single-bed cabin on the ship ) [28] => Array ( [code] => DZB [translation] => double-bed cabin on the ship ) [29] => Array ( [code] => 3ZB [translation] => three-bed cabin on the ship ) [30] => Array ( [code] => PS [translation] => private accommodation ) [31] => Array ( [code] => OU [translation] => without accommodation ) [32] => Array ( [code] => EC [translation] => economy room ) [33] => Array ( [code] => TZ [translation] => triple room ) [34] => Array ( [code] => DZT [translation] => twin room ) [35] => Array ( [code] => CBW [translation] => cabin with a window ) [36] => Array ( [code] => CBB [translation] => cabin with balcony ) [37] => Array ( [code] => KB [translation] => cabin ) [38] => Array ( [code] => DZ2 [translation] => room with two beds ) [39] => Array ( [code] => DTB [translation] => twin-bed cabin on the ship ) [40] => Array ( [code] => EB [translation] => Bed (multiple bedroom) ) [41] => Array ( [code] => TE [translation] => tend ) ) ===== Return parameters ===== * ''code'' : room type code * ''translation'' : room type translation (depending on entered $lang) ===== Examples ===== * Example $list = $soapClient->orsxml_api_call( 'getRoomTypes', 'en' );