Type.registerNamespace('Gat');
Gat.BookHotelService=function() {
Gat.BookHotelService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Gat.BookHotelService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Gat.BookHotelService._staticInstance.get_path();},
LoadBookHotel:function(hotelGroupID,hotelID,nightCount,checkIn,ticketID,adultCount,childAges,reloadTickets,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadBookHotel',false,{hotelGroupID:hotelGroupID,hotelID:hotelID,nightCount:nightCount,checkIn:checkIn,ticketID:ticketID,adultCount:adultCount,childAges:childAges,reloadTickets:reloadTickets},succeededCallback,failedCallback,userContext); }}
Gat.BookHotelService.registerClass('Gat.BookHotelService',Sys.Net.WebServiceProxy);
Gat.BookHotelService._staticInstance = new Gat.BookHotelService();
Gat.BookHotelService.set_path = function(value) { Gat.BookHotelService._staticInstance.set_path(value); }
Gat.BookHotelService.get_path = function() { return Gat.BookHotelService._staticInstance.get_path(); }
Gat.BookHotelService.set_timeout = function(value) { Gat.BookHotelService._staticInstance.set_timeout(value); }
Gat.BookHotelService.get_timeout = function() { return Gat.BookHotelService._staticInstance.get_timeout(); }
Gat.BookHotelService.set_defaultUserContext = function(value) { Gat.BookHotelService._staticInstance.set_defaultUserContext(value); }
Gat.BookHotelService.get_defaultUserContext = function() { return Gat.BookHotelService._staticInstance.get_defaultUserContext(); }
Gat.BookHotelService.set_defaultSucceededCallback = function(value) { Gat.BookHotelService._staticInstance.set_defaultSucceededCallback(value); }
Gat.BookHotelService.get_defaultSucceededCallback = function() { return Gat.BookHotelService._staticInstance.get_defaultSucceededCallback(); }
Gat.BookHotelService.set_defaultFailedCallback = function(value) { Gat.BookHotelService._staticInstance.set_defaultFailedCallback(value); }
Gat.BookHotelService.get_defaultFailedCallback = function() { return Gat.BookHotelService._staticInstance.get_defaultFailedCallback(); }
Gat.BookHotelService.set_path("/Services/BookHotelService.svc");
Gat.BookHotelService.LoadBookHotel= function(hotelGroupID,hotelID,nightCount,checkIn,ticketID,adultCount,childAges,reloadTickets,onSuccess,onFailed,userContext) {Gat.BookHotelService._staticInstance.LoadBookHotel(hotelGroupID,hotelID,nightCount,checkIn,ticketID,adultCount,childAges,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');
}
