Type.registerNamespace('PriceLister.Avalon.Web.ScriptService');
PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService=function() {
PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService.prototype={
GetLocalStores:function(productId,mapCenterLatitude,mapCenterLongitude,succeededCallback, failedCallback, userContext) {
return this._invoke(PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService.get_path(), 'GetLocalStores',false,{productId:productId,mapCenterLatitude:mapCenterLatitude,mapCenterLongitude:mapCenterLongitude},succeededCallback,failedCallback,userContext); },
LocalStoresListChanged:function(productId,mapCenterLatitude,mapCenterLongitude,succeededCallback, failedCallback, userContext) {
return this._invoke(PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService.get_path(), 'LocalStoresListChanged',false,{productId:productId,mapCenterLatitude:mapCenterLatitude,mapCenterLongitude:mapCenterLongitude},succeededCallback,failedCallback,userContext); },
GetLocalStores2:function(productId,location,mapCenterLatitude,mapCenterLongitude,isFirstRequest,succeededCallback, failedCallback, userContext) {
return this._invoke(PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService.get_path(), 'GetLocalStores2',false,{productId:productId,location:location,mapCenterLatitude:mapCenterLatitude,mapCenterLongitude:mapCenterLongitude,isFirstRequest:isFirstRequest},succeededCallback,failedCallback,userContext); },
IssueLocalStoresUpdateRequest:function(productId,location,mapCenterLatitude,mapCenterLongitude,succeededCallback, failedCallback, userContext) {
return this._invoke(PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService.get_path(), 'IssueLocalStoresUpdateRequest',false,{productId:productId,location:location,mapCenterLatitude:mapCenterLatitude,mapCenterLongitude:mapCenterLongitude},succeededCallback,failedCallback,userContext); }}
PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService.registerClass('PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService',Sys.Net.WebServiceProxy);
PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService._staticInstance = new PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService();
PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService.set_path = function(value) { PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService._staticInstance._path = value; }
PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService.get_path = function() { return PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService._staticInstance._path; }
PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService.set_timeout = function(value) { PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService._staticInstance._timeout = value; }
PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService.get_timeout = function() { return PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService._staticInstance._timeout; }
PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService.set_defaultUserContext = function(value) { PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService._staticInstance._userContext = value; }
PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService.get_defaultUserContext = function() { return PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService._staticInstance._userContext; }
PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService.set_defaultSucceededCallback = function(value) { PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService._staticInstance._succeeded = value; }
PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService.get_defaultSucceededCallback = function() { return PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService._staticInstance._succeeded; }
PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService.set_defaultFailedCallback = function(value) { PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService._staticInstance._failed = value; }
PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService.get_defaultFailedCallback = function() { return PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService._staticInstance._failed; }
PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService.set_path("/ScriptServices/SellerLocalStore.asmx");
PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService.GetLocalStores= function(productId,mapCenterLatitude,mapCenterLongitude,onSuccess,onFailed,userContext) {PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService._staticInstance.GetLocalStores(productId,mapCenterLatitude,mapCenterLongitude,onSuccess,onFailed,userContext); }
PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService.LocalStoresListChanged= function(productId,mapCenterLatitude,mapCenterLongitude,onSuccess,onFailed,userContext) {PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService._staticInstance.LocalStoresListChanged(productId,mapCenterLatitude,mapCenterLongitude,onSuccess,onFailed,userContext); }
PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService.GetLocalStores2= function(productId,location,mapCenterLatitude,mapCenterLongitude,isFirstRequest,onSuccess,onFailed,userContext) {PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService._staticInstance.GetLocalStores2(productId,location,mapCenterLatitude,mapCenterLongitude,isFirstRequest,onSuccess,onFailed,userContext); }
PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService.IssueLocalStoresUpdateRequest= function(productId,location,mapCenterLatitude,mapCenterLongitude,onSuccess,onFailed,userContext) {PriceLister.Avalon.Web.ScriptService.SellerLocalStoreService._staticInstance.IssueLocalStoresUpdateRequest(productId,location,mapCenterLatitude,mapCenterLongitude,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(PriceLister.Avalon.Web.ScriptService.SellerLocationInfo) === 'undefined') {
PriceLister.Avalon.Web.ScriptService.SellerLocationInfo=gtc("PriceLister.Avalon.Web.ScriptService.SellerLocationInfo");
PriceLister.Avalon.Web.ScriptService.SellerLocationInfo.registerClass('PriceLister.Avalon.Web.ScriptService.SellerLocationInfo');
}
