Type.registerNamespace('Gat');
Gat.HotelListingService=function() {
Gat.HotelListingService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Gat.HotelListingService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Gat.HotelListingService._staticInstance.get_path();},
LoadHotelListingSubset:function(subsetIndex,locationID,nightCount,checkInDate,ticketID,sortOption,specialID,adultCount,childAges,nameFilter,reloadTickets,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadHotelListingSubset',false,{subsetIndex:subsetIndex,locationID:locationID,nightCount:nightCount,checkInDate:checkInDate,ticketID:ticketID,sortOption:sortOption,specialID:specialID,adultCount:adultCount,childAges:childAges,nameFilter:nameFilter,reloadTickets:reloadTickets},succeededCallback,failedCallback,userContext); }}
Gat.HotelListingService.registerClass('Gat.HotelListingService',Sys.Net.WebServiceProxy);
Gat.HotelListingService._staticInstance = new Gat.HotelListingService();
Gat.HotelListingService.set_path = function(value) { Gat.HotelListingService._staticInstance.set_path(value); }
Gat.HotelListingService.get_path = function() { return Gat.HotelListingService._staticInstance.get_path(); }
Gat.HotelListingService.set_timeout = function(value) { Gat.HotelListingService._staticInstance.set_timeout(value); }
Gat.HotelListingService.get_timeout = function() { return Gat.HotelListingService._staticInstance.get_timeout(); }
Gat.HotelListingService.set_defaultUserContext = function(value) { Gat.HotelListingService._staticInstance.set_defaultUserContext(value); }
Gat.HotelListingService.get_defaultUserContext = function() { return Gat.HotelListingService._staticInstance.get_defaultUserContext(); }
Gat.HotelListingService.set_defaultSucceededCallback = function(value) { Gat.HotelListingService._staticInstance.set_defaultSucceededCallback(value); }
Gat.HotelListingService.get_defaultSucceededCallback = function() { return Gat.HotelListingService._staticInstance.get_defaultSucceededCallback(); }
Gat.HotelListingService.set_defaultFailedCallback = function(value) { Gat.HotelListingService._staticInstance.set_defaultFailedCallback(value); }
Gat.HotelListingService.get_defaultFailedCallback = function() { return Gat.HotelListingService._staticInstance.get_defaultFailedCallback(); }
Gat.HotelListingService.set_path("/Services/HotelListingService.svc");
Gat.HotelListingService.LoadHotelListingSubset= function(subsetIndex,locationID,nightCount,checkInDate,ticketID,sortOption,specialID,adultCount,childAges,nameFilter,reloadTickets,onSuccess,onFailed,userContext) {Gat.HotelListingService._staticInstance.LoadHotelListingSubset(subsetIndex,locationID,nightCount,checkInDate,ticketID,sortOption,specialID,adultCount,childAges,nameFilter,reloadTickets,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('www.w3.org._2001.XMLSchema');
if (typeof(www.w3.org._2001.XMLSchema.int) === 'undefined') {
www.w3.org._2001.XMLSchema.int=gtc("int:http://www.w3.org/2001/XMLSchema");
www.w3.org._2001.XMLSchema.int.registerClass('www.w3.org._2001.XMLSchema.int');
}
Type.registerNamespace('Gat.Web.UI.Inventory');
if (typeof(Gat.Web.UI.Inventory.HotelResultsSubset) === 'undefined') {
Gat.Web.UI.Inventory.HotelResultsSubset=gtc("HotelResultsSubset:http://schemas.datacontract.org/2004/07/Gat.Web.UI.Inventory");
Gat.Web.UI.Inventory.HotelResultsSubset.registerClass('Gat.Web.UI.Inventory.HotelResultsSubset');
}
if (typeof(Gat.Web.UI.Inventory.AggregateHotelGroup) === 'undefined') {
Gat.Web.UI.Inventory.AggregateHotelGroup=gtc("AggregateHotelGroup:http://schemas.datacontract.org/2004/07/Gat.Web.UI.Inventory");
Gat.Web.UI.Inventory.AggregateHotelGroup.registerClass('Gat.Web.UI.Inventory.AggregateHotelGroup');
}
if (typeof(Gat.Web.UI.Inventory.AggregateHotel) === 'undefined') {
Gat.Web.UI.Inventory.AggregateHotel=gtc("AggregateHotel:http://schemas.datacontract.org/2004/07/Gat.Web.UI.Inventory");
Gat.Web.UI.Inventory.AggregateHotel.registerClass('Gat.Web.UI.Inventory.AggregateHotel');
}
if (typeof(Gat.Web.UI.Inventory.AggregateWorksheetVoucherPricing) === 'undefined') {
Gat.Web.UI.Inventory.AggregateWorksheetVoucherPricing=gtc("AggregateWorksheetVoucherPricing:http://schemas.datacontract.org/2004/07/Gat.Web.UI.Inventory");
Gat.Web.UI.Inventory.AggregateWorksheetVoucherPricing.registerClass('Gat.Web.UI.Inventory.AggregateWorksheetVoucherPricing');
}
if (typeof(Gat.Web.UI.Inventory.AggregateWorksheetVoucher) === 'undefined') {
Gat.Web.UI.Inventory.AggregateWorksheetVoucher=gtc("AggregateWorksheetVoucher:http://schemas.datacontract.org/2004/07/Gat.Web.UI.Inventory");
Gat.Web.UI.Inventory.AggregateWorksheetVoucher.registerClass('Gat.Web.UI.Inventory.AggregateWorksheetVoucher');
}
Type.registerNamespace('Gat.Web.Logic');
if (typeof(Gat.Web.Logic.ResultSubsetOfAggregateHotelGroup8QDd_S8Oz) === 'undefined') {
Gat.Web.Logic.ResultSubsetOfAggregateHotelGroup8QDd_S8Oz=gtc("ResultSubsetOfAggregateHotelGroup8QDd_S8Oz:http://schemas.datacontract.org/2004/07/Gat.Web.Logic");
Gat.Web.Logic.ResultSubsetOfAggregateHotelGroup8QDd_S8Oz.registerClass('Gat.Web.Logic.ResultSubsetOfAggregateHotelGroup8QDd_S8Oz');
}
