Type.registerNamespace('TVAGoogle.common.services');
TVAGoogle.common.services.Business=function() {
TVAGoogle.common.services.Business.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
TVAGoogle.common.services.Business.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return TVAGoogle.common.services.Business._staticInstance.get_path();},
GetBusinessesByTypeAndLocation:function(pRadius,pLat,pLng,pCode,pName,pSICCodes,pRequestID,succeededCallback, failedCallback, userContext) {
/// <param name="pRadius" type="Number">System.Double</param>
/// <param name="pLat" type="Number">System.Double</param>
/// <param name="pLng" type="Number">System.Double</param>
/// <param name="pCode" type="Number">System.Int32</param>
/// <param name="pName" type="String">System.String</param>
/// <param name="pSICCodes" type="String">System.String</param>
/// <param name="pRequestID" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetBusinessesByTypeAndLocation',false,{pRadius:pRadius,pLat:pLat,pLng:pLng,pCode:pCode,pName:pName,pSICCodes:pSICCodes,pRequestID:pRequestID},succeededCallback,failedCallback,userContext); }}
TVAGoogle.common.services.Business.registerClass('TVAGoogle.common.services.Business',Sys.Net.WebServiceProxy);
TVAGoogle.common.services.Business._staticInstance = new TVAGoogle.common.services.Business();
TVAGoogle.common.services.Business.set_path = function(value) {
TVAGoogle.common.services.Business._staticInstance.set_path(value); }
TVAGoogle.common.services.Business.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return TVAGoogle.common.services.Business._staticInstance.get_path();}
TVAGoogle.common.services.Business.set_timeout = function(value) {
TVAGoogle.common.services.Business._staticInstance.set_timeout(value); }
TVAGoogle.common.services.Business.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return TVAGoogle.common.services.Business._staticInstance.get_timeout(); }
TVAGoogle.common.services.Business.set_defaultUserContext = function(value) { 
TVAGoogle.common.services.Business._staticInstance.set_defaultUserContext(value); }
TVAGoogle.common.services.Business.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return TVAGoogle.common.services.Business._staticInstance.get_defaultUserContext(); }
TVAGoogle.common.services.Business.set_defaultSucceededCallback = function(value) { 
 TVAGoogle.common.services.Business._staticInstance.set_defaultSucceededCallback(value); }
TVAGoogle.common.services.Business.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return TVAGoogle.common.services.Business._staticInstance.get_defaultSucceededCallback(); }
TVAGoogle.common.services.Business.set_defaultFailedCallback = function(value) { 
TVAGoogle.common.services.Business._staticInstance.set_defaultFailedCallback(value); }
TVAGoogle.common.services.Business.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return TVAGoogle.common.services.Business._staticInstance.get_defaultFailedCallback(); }
TVAGoogle.common.services.Business.set_path("/common/services/Business.asmx");
TVAGoogle.common.services.Business.GetBusinessesByTypeAndLocation= function(pRadius,pLat,pLng,pCode,pName,pSICCodes,pRequestID,onSuccess,onFailed,userContext) {
/// <param name="pRadius" type="Number">System.Double</param>
/// <param name="pLat" type="Number">System.Double</param>
/// <param name="pLng" type="Number">System.Double</param>
/// <param name="pCode" type="Number">System.Int32</param>
/// <param name="pName" type="String">System.String</param>
/// <param name="pSICCodes" type="String">System.String</param>
/// <param name="pRequestID" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TVAGoogle.common.services.Business._staticInstance.GetBusinessesByTypeAndLocation(pRadius,pLat,pLng,pCode,pName,pSICCodes,pRequestID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(TVAGoogle.common.services.GetBusinessByTypeAndLocationResult) === 'undefined') {
TVAGoogle.common.services.GetBusinessByTypeAndLocationResult=gtc("TVAGoogle.common.services.GetBusinessByTypeAndLocationResult");
TVAGoogle.common.services.GetBusinessByTypeAndLocationResult.registerClass('TVAGoogle.common.services.GetBusinessByTypeAndLocationResult');
}
