Type.registerNamespace('uniRMS.WebSite.WebServices');
uniRMS.WebSite.WebServices.ShoppingService=function() {
uniRMS.WebSite.WebServices.ShoppingService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
uniRMS.WebSite.WebServices.ShoppingService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return uniRMS.WebSite.WebServices.ShoppingService._staticInstance.get_path();},
GetEntyInfo:function(entyid,succeededCallback, failedCallback, userContext) {
/// <param name="entyid" 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(), 'GetEntyInfo',false,{entyid:entyid},succeededCallback,failedCallback,userContext); },
AddEntyShoppingCart:function(strEntyId,strGoodsId,succeededCallback, failedCallback, userContext) {
/// <param name="strEntyId" type="String">System.String</param>
/// <param name="strGoodsId" 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(), 'AddEntyShoppingCart',false,{strEntyId:strEntyId,strGoodsId:strGoodsId},succeededCallback,failedCallback,userContext); },
UserBuyDoc:function(rsid,docid,docname,succeededCallback, failedCallback, userContext) {
/// <param name="rsid" type="String">System.String</param>
/// <param name="docid" type="String">System.String</param>
/// <param name="docname" 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(), 'UserBuyDoc',false,{rsid:rsid,docid:docid,docname:docname},succeededCallback,failedCallback,userContext); },
AddUserShoppingCart:function(rsid,strDocs,succeededCallback, failedCallback, userContext) {
/// <param name="rsid" type="String">System.String</param>
/// <param name="strDocs" 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(), 'AddUserShoppingCart',false,{rsid:rsid,strDocs:strDocs},succeededCallback,failedCallback,userContext); },
IfUserBuyArticle:function(title,resType,resID,showType,sourceurl,succeededCallback, failedCallback, userContext) {
/// <param name="title" type="String">System.String</param>
/// <param name="resType" type="String">System.String</param>
/// <param name="resID" type="String">System.String</param>
/// <param name="showType" type="String">System.String</param>
/// <param name="sourceurl" 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(), 'IfUserBuyArticle',false,{title:title,resType:resType,resID:resID,showType:showType,sourceurl:sourceurl},succeededCallback,failedCallback,userContext); }}
uniRMS.WebSite.WebServices.ShoppingService.registerClass('uniRMS.WebSite.WebServices.ShoppingService',Sys.Net.WebServiceProxy);
uniRMS.WebSite.WebServices.ShoppingService._staticInstance = new uniRMS.WebSite.WebServices.ShoppingService();
uniRMS.WebSite.WebServices.ShoppingService.set_path = function(value) {
uniRMS.WebSite.WebServices.ShoppingService._staticInstance.set_path(value); }
uniRMS.WebSite.WebServices.ShoppingService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return uniRMS.WebSite.WebServices.ShoppingService._staticInstance.get_path();}
uniRMS.WebSite.WebServices.ShoppingService.set_timeout = function(value) {
uniRMS.WebSite.WebServices.ShoppingService._staticInstance.set_timeout(value); }
uniRMS.WebSite.WebServices.ShoppingService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return uniRMS.WebSite.WebServices.ShoppingService._staticInstance.get_timeout(); }
uniRMS.WebSite.WebServices.ShoppingService.set_defaultUserContext = function(value) { 
uniRMS.WebSite.WebServices.ShoppingService._staticInstance.set_defaultUserContext(value); }
uniRMS.WebSite.WebServices.ShoppingService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return uniRMS.WebSite.WebServices.ShoppingService._staticInstance.get_defaultUserContext(); }
uniRMS.WebSite.WebServices.ShoppingService.set_defaultSucceededCallback = function(value) { 
 uniRMS.WebSite.WebServices.ShoppingService._staticInstance.set_defaultSucceededCallback(value); }
uniRMS.WebSite.WebServices.ShoppingService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return uniRMS.WebSite.WebServices.ShoppingService._staticInstance.get_defaultSucceededCallback(); }
uniRMS.WebSite.WebServices.ShoppingService.set_defaultFailedCallback = function(value) { 
uniRMS.WebSite.WebServices.ShoppingService._staticInstance.set_defaultFailedCallback(value); }
uniRMS.WebSite.WebServices.ShoppingService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return uniRMS.WebSite.WebServices.ShoppingService._staticInstance.get_defaultFailedCallback(); }
uniRMS.WebSite.WebServices.ShoppingService.set_path("/WebServices/ShoppingService.asmx");
uniRMS.WebSite.WebServices.ShoppingService.GetEntyInfo= function(entyid,onSuccess,onFailed,userContext) {
/// <param name="entyid" 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>
uniRMS.WebSite.WebServices.ShoppingService._staticInstance.GetEntyInfo(entyid,onSuccess,onFailed,userContext); }
uniRMS.WebSite.WebServices.ShoppingService.AddEntyShoppingCart= function(strEntyId,strGoodsId,onSuccess,onFailed,userContext) {
/// <param name="strEntyId" type="String">System.String</param>
/// <param name="strGoodsId" 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>
uniRMS.WebSite.WebServices.ShoppingService._staticInstance.AddEntyShoppingCart(strEntyId,strGoodsId,onSuccess,onFailed,userContext); }
uniRMS.WebSite.WebServices.ShoppingService.UserBuyDoc= function(rsid,docid,docname,onSuccess,onFailed,userContext) {
/// <param name="rsid" type="String">System.String</param>
/// <param name="docid" type="String">System.String</param>
/// <param name="docname" 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>
uniRMS.WebSite.WebServices.ShoppingService._staticInstance.UserBuyDoc(rsid,docid,docname,onSuccess,onFailed,userContext); }
uniRMS.WebSite.WebServices.ShoppingService.AddUserShoppingCart= function(rsid,strDocs,onSuccess,onFailed,userContext) {
/// <param name="rsid" type="String">System.String</param>
/// <param name="strDocs" 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>
uniRMS.WebSite.WebServices.ShoppingService._staticInstance.AddUserShoppingCart(rsid,strDocs,onSuccess,onFailed,userContext); }
uniRMS.WebSite.WebServices.ShoppingService.IfUserBuyArticle= function(title,resType,resID,showType,sourceurl,onSuccess,onFailed,userContext) {
/// <param name="title" type="String">System.String</param>
/// <param name="resType" type="String">System.String</param>
/// <param name="resID" type="String">System.String</param>
/// <param name="showType" type="String">System.String</param>
/// <param name="sourceurl" 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>
uniRMS.WebSite.WebServices.ShoppingService._staticInstance.IfUserBuyArticle(title,resType,resID,showType,sourceurl,onSuccess,onFailed,userContext); }
