var Booking=function() {
Booking.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Booking.prototype={
GetPricing:function(req,succeededCallback, failedCallback, userContext) {
return this._invoke(Booking.get_path(), 'GetPricing',false,{req:req},succeededCallback,failedCallback,userContext); },
GetExtras:function(req,succeededCallback, failedCallback, userContext) {
return this._invoke(Booking.get_path(), 'GetExtras',false,{req:req},succeededCallback,failedCallback,userContext); },
addToCart:function(req,userGUId,succeededCallback, failedCallback, userContext) {
return this._invoke(Booking.get_path(), 'addToCart',false,{req:req,userGUId:userGUId},succeededCallback,failedCallback,userContext); }}
Booking.registerClass('Booking',Sys.Net.WebServiceProxy);
Booking._staticInstance = new Booking();
Booking.set_path = function(value) { Booking._staticInstance._path = value; }
Booking.get_path = function() { return Booking._staticInstance._path; }
Booking.set_timeout = function(value) { Booking._staticInstance._timeout = value; }
Booking.get_timeout = function() { return Booking._staticInstance._timeout; }
Booking.set_defaultUserContext = function(value) { Booking._staticInstance._userContext = value; }
Booking.get_defaultUserContext = function() { return Booking._staticInstance._userContext; }
Booking.set_defaultSucceededCallback = function(value) { Booking._staticInstance._succeeded = value; }
Booking.get_defaultSucceededCallback = function() { return Booking._staticInstance._succeeded; }
Booking.set_defaultFailedCallback = function(value) { Booking._staticInstance._failed = value; }
Booking.get_defaultFailedCallback = function() { return Booking._staticInstance._failed; }
Booking.set_path("/_services/Booking.asmx");
Booking.GetPricing= function(req,onSuccess,onFailed,userContext) {Booking._staticInstance.GetPricing(req,onSuccess,onFailed,userContext); }
Booking.GetExtras= function(req,onSuccess,onFailed,userContext) {Booking._staticInstance.GetExtras(req,onSuccess,onFailed,userContext); }
Booking.addToCart= function(req,userGUId,onSuccess,onFailed,userContext) {Booking._staticInstance.addToCart(req,userGUId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('SpotLocal.Library.Taxonomy.Light');
if (typeof(SpotLocal.Library.Taxonomy.Light.LightRequest) === 'undefined') {
SpotLocal.Library.Taxonomy.Light.LightRequest=gtc("SpotLocal.Library.Taxonomy.Light.LightRequest");
SpotLocal.Library.Taxonomy.Light.LightRequest.registerClass('SpotLocal.Library.Taxonomy.Light.LightRequest');
}
Type.registerNamespace('SpotLocal.TourPlan.Items');
if (typeof(SpotLocal.TourPlan.Items.Extra) === 'undefined') {
SpotLocal.TourPlan.Items.Extra=gtc("SpotLocal.TourPlan.Items.Extra");
SpotLocal.TourPlan.Items.Extra.registerClass('SpotLocal.TourPlan.Items.Extra');
}
