Type.registerNamespace('TabUp.WebServices');
TabUp.WebServices.GeoLocationService=function() {
TabUp.WebServices.GeoLocationService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
TabUp.WebServices.GeoLocationService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return TabUp.WebServices.GeoLocationService._staticInstance.get_path();},
GetAdminCode1List:function(countryId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAdminCode1List',false,{countryId:countryId},succeededCallback,failedCallback,userContext); },
GetLocationList:function(prefixText,count,contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLocationList',false,{prefixText:prefixText,count:count,contextKey:contextKey},succeededCallback,failedCallback,userContext); },
GetLocationListByCity:function(prefixText,count,contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLocationListByCity',false,{prefixText:prefixText,count:count,contextKey:contextKey},succeededCallback,failedCallback,userContext); },
GetLocationListByPostalCode:function(prefixText,count,contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLocationListByPostalCode',false,{prefixText:prefixText,count:count,contextKey:contextKey},succeededCallback,failedCallback,userContext); },
CheckLocation:function(countryId,codeId,locationId,validatorName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CheckLocation',false,{countryId:countryId,codeId:codeId,locationId:locationId,validatorName:validatorName},succeededCallback,failedCallback,userContext); },
GetLocation:function(prefixText,count,contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLocation',false,{prefixText:prefixText,count:count,contextKey:contextKey},succeededCallback,failedCallback,userContext); },
GetCitiesForCountry:function(prefixText,count,contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCitiesForCountry',false,{prefixText:prefixText,count:count,contextKey:contextKey},succeededCallback,failedCallback,userContext); }}
TabUp.WebServices.GeoLocationService.registerClass('TabUp.WebServices.GeoLocationService',Sys.Net.WebServiceProxy);
TabUp.WebServices.GeoLocationService._staticInstance = new TabUp.WebServices.GeoLocationService();
TabUp.WebServices.GeoLocationService.set_path = function(value) { TabUp.WebServices.GeoLocationService._staticInstance.set_path(value); }
TabUp.WebServices.GeoLocationService.get_path = function() { return TabUp.WebServices.GeoLocationService._staticInstance.get_path(); }
TabUp.WebServices.GeoLocationService.set_timeout = function(value) { TabUp.WebServices.GeoLocationService._staticInstance.set_timeout(value); }
TabUp.WebServices.GeoLocationService.get_timeout = function() { return TabUp.WebServices.GeoLocationService._staticInstance.get_timeout(); }
TabUp.WebServices.GeoLocationService.set_defaultUserContext = function(value) { TabUp.WebServices.GeoLocationService._staticInstance.set_defaultUserContext(value); }
TabUp.WebServices.GeoLocationService.get_defaultUserContext = function() { return TabUp.WebServices.GeoLocationService._staticInstance.get_defaultUserContext(); }
TabUp.WebServices.GeoLocationService.set_defaultSucceededCallback = function(value) { TabUp.WebServices.GeoLocationService._staticInstance.set_defaultSucceededCallback(value); }
TabUp.WebServices.GeoLocationService.get_defaultSucceededCallback = function() { return TabUp.WebServices.GeoLocationService._staticInstance.get_defaultSucceededCallback(); }
TabUp.WebServices.GeoLocationService.set_defaultFailedCallback = function(value) { TabUp.WebServices.GeoLocationService._staticInstance.set_defaultFailedCallback(value); }
TabUp.WebServices.GeoLocationService.get_defaultFailedCallback = function() { return TabUp.WebServices.GeoLocationService._staticInstance.get_defaultFailedCallback(); }
TabUp.WebServices.GeoLocationService.set_enableJsonp = function(value) { TabUp.WebServices.GeoLocationService._staticInstance.set_enableJsonp(value); }
TabUp.WebServices.GeoLocationService.get_enableJsonp = function() { return TabUp.WebServices.GeoLocationService._staticInstance.get_enableJsonp(); }
TabUp.WebServices.GeoLocationService.set_jsonpCallbackParameter = function(value) { TabUp.WebServices.GeoLocationService._staticInstance.set_jsonpCallbackParameter(value); }
TabUp.WebServices.GeoLocationService.get_jsonpCallbackParameter = function() { return TabUp.WebServices.GeoLocationService._staticInstance.get_jsonpCallbackParameter(); }
TabUp.WebServices.GeoLocationService.set_path("/WebServices/GeoLocationService.asmx");
TabUp.WebServices.GeoLocationService.GetAdminCode1List= function(countryId,onSuccess,onFailed,userContext) {TabUp.WebServices.GeoLocationService._staticInstance.GetAdminCode1List(countryId,onSuccess,onFailed,userContext); }
TabUp.WebServices.GeoLocationService.GetLocationList= function(prefixText,count,contextKey,onSuccess,onFailed,userContext) {TabUp.WebServices.GeoLocationService._staticInstance.GetLocationList(prefixText,count,contextKey,onSuccess,onFailed,userContext); }
TabUp.WebServices.GeoLocationService.GetLocationListByCity= function(prefixText,count,contextKey,onSuccess,onFailed,userContext) {TabUp.WebServices.GeoLocationService._staticInstance.GetLocationListByCity(prefixText,count,contextKey,onSuccess,onFailed,userContext); }
TabUp.WebServices.GeoLocationService.GetLocationListByPostalCode= function(prefixText,count,contextKey,onSuccess,onFailed,userContext) {TabUp.WebServices.GeoLocationService._staticInstance.GetLocationListByPostalCode(prefixText,count,contextKey,onSuccess,onFailed,userContext); }
TabUp.WebServices.GeoLocationService.CheckLocation= function(countryId,codeId,locationId,validatorName,onSuccess,onFailed,userContext) {TabUp.WebServices.GeoLocationService._staticInstance.CheckLocation(countryId,codeId,locationId,validatorName,onSuccess,onFailed,userContext); }
TabUp.WebServices.GeoLocationService.GetLocation= function(prefixText,count,contextKey,onSuccess,onFailed,userContext) {TabUp.WebServices.GeoLocationService._staticInstance.GetLocation(prefixText,count,contextKey,onSuccess,onFailed,userContext); }
TabUp.WebServices.GeoLocationService.GetCitiesForCountry= function(prefixText,count,contextKey,onSuccess,onFailed,userContext) {TabUp.WebServices.GeoLocationService._staticInstance.GetCitiesForCountry(prefixText,count,contextKey,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('TabUp.Classes.DataContracts.Settings');
if (typeof(TabUp.Classes.DataContracts.Settings.AdminCode1Contract) === 'undefined') {
TabUp.Classes.DataContracts.Settings.AdminCode1Contract=gtc("TabUp.Classes.DataContracts.Settings.AdminCode1Contract");
TabUp.Classes.DataContracts.Settings.AdminCode1Contract.registerClass('TabUp.Classes.DataContracts.Settings.AdminCode1Contract');
}
Type.registerNamespace('System.Web.UI');
if (typeof(System.Web.UI.Pair) === 'undefined') {
System.Web.UI.Pair=gtc("System.Web.UI.Pair");
System.Web.UI.Pair.registerClass('System.Web.UI.Pair');
}
Type.registerNamespace('com.kindleit.tabup.common.Exceptions');
if (typeof(com.kindleit.tabup.common.Exceptions.TabupOperationResult) === 'undefined') {
com.kindleit.tabup.common.Exceptions.TabupOperationResult=gtc("com.kindleit.tabup.common.Exceptions.TabupOperationResult");
com.kindleit.tabup.common.Exceptions.TabupOperationResult.registerClass('com.kindleit.tabup.common.Exceptions.TabupOperationResult');
}
