Type.registerNamespace('ETG.Base.Applications.ETigers.Web.EShop');
ETG.Base.Applications.ETigers.Web.EShop.ShopService=function() {
ETG.Base.Applications.ETigers.Web.EShop.ShopService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ETG.Base.Applications.ETigers.Web.EShop.ShopService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ETG.Base.Applications.ETigers.Web.EShop.ShopService._staticInstance.get_path();},
TellAFriend:function(FriendName,FriendEmail,YourName,succeededCallback, failedCallback, userContext) {
/// <param name="FriendName" type="String">System.String</param>
/// <param name="FriendEmail" type="String">System.String</param>
/// <param name="YourName" 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(), 'TellAFriend',false,{FriendName:FriendName,FriendEmail:FriendEmail,YourName:YourName},succeededCallback,failedCallback,userContext); },
SubscribeNewsletter:function(Email,succeededCallback, failedCallback, userContext) {
/// <param name="Email" 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(), 'SubscribeNewsletter',false,{Email:Email},succeededCallback,failedCallback,userContext); }}
ETG.Base.Applications.ETigers.Web.EShop.ShopService.registerClass('ETG.Base.Applications.ETigers.Web.EShop.ShopService',Sys.Net.WebServiceProxy);
ETG.Base.Applications.ETigers.Web.EShop.ShopService._staticInstance = new ETG.Base.Applications.ETigers.Web.EShop.ShopService();
ETG.Base.Applications.ETigers.Web.EShop.ShopService.set_path = function(value) {
ETG.Base.Applications.ETigers.Web.EShop.ShopService._staticInstance.set_path(value); }
ETG.Base.Applications.ETigers.Web.EShop.ShopService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return ETG.Base.Applications.ETigers.Web.EShop.ShopService._staticInstance.get_path();}
ETG.Base.Applications.ETigers.Web.EShop.ShopService.set_timeout = function(value) {
ETG.Base.Applications.ETigers.Web.EShop.ShopService._staticInstance.set_timeout(value); }
ETG.Base.Applications.ETigers.Web.EShop.ShopService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return ETG.Base.Applications.ETigers.Web.EShop.ShopService._staticInstance.get_timeout(); }
ETG.Base.Applications.ETigers.Web.EShop.ShopService.set_defaultUserContext = function(value) { 
ETG.Base.Applications.ETigers.Web.EShop.ShopService._staticInstance.set_defaultUserContext(value); }
ETG.Base.Applications.ETigers.Web.EShop.ShopService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return ETG.Base.Applications.ETigers.Web.EShop.ShopService._staticInstance.get_defaultUserContext(); }
ETG.Base.Applications.ETigers.Web.EShop.ShopService.set_defaultSucceededCallback = function(value) { 
 ETG.Base.Applications.ETigers.Web.EShop.ShopService._staticInstance.set_defaultSucceededCallback(value); }
ETG.Base.Applications.ETigers.Web.EShop.ShopService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return ETG.Base.Applications.ETigers.Web.EShop.ShopService._staticInstance.get_defaultSucceededCallback(); }
ETG.Base.Applications.ETigers.Web.EShop.ShopService.set_defaultFailedCallback = function(value) { 
ETG.Base.Applications.ETigers.Web.EShop.ShopService._staticInstance.set_defaultFailedCallback(value); }
ETG.Base.Applications.ETigers.Web.EShop.ShopService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return ETG.Base.Applications.ETigers.Web.EShop.ShopService._staticInstance.get_defaultFailedCallback(); }
ETG.Base.Applications.ETigers.Web.EShop.ShopService.set_path("/EShop/ShopService.asmx");
ETG.Base.Applications.ETigers.Web.EShop.ShopService.TellAFriend= function(FriendName,FriendEmail,YourName,onSuccess,onFailed,userContext) {
/// <param name="FriendName" type="String">System.String</param>
/// <param name="FriendEmail" type="String">System.String</param>
/// <param name="YourName" 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>
ETG.Base.Applications.ETigers.Web.EShop.ShopService._staticInstance.TellAFriend(FriendName,FriendEmail,YourName,onSuccess,onFailed,userContext); }
ETG.Base.Applications.ETigers.Web.EShop.ShopService.SubscribeNewsletter= function(Email,onSuccess,onFailed,userContext) {
/// <param name="Email" 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>
ETG.Base.Applications.ETigers.Web.EShop.ShopService._staticInstance.SubscribeNewsletter(Email,onSuccess,onFailed,userContext); }
