var WS_Order=function() {
WS_Order.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WS_Order.prototype={
GetShoppingCartInfo:function(succeededCallback, failedCallback, userContext) {
return this._invoke(WS_Order.get_path(), 'GetShoppingCartInfo',false,{},succeededCallback,failedCallback,userContext); },
AddToCart:function(str_actioncode,str_refkey,str_style1code,str_style2code,quantity,str_instalment,succeededCallback, failedCallback, userContext) {
return this._invoke(WS_Order.get_path(), 'AddToCart',false,{str_actioncode:str_actioncode,str_refkey:str_refkey,str_style1code:str_style1code,str_style2code:str_style2code,quantity:quantity,str_instalment:str_instalment},succeededCallback,failedCallback,userContext); },
AddToCart2:function(str_actioncode,str_refkey,str_style1code,str_style2code,quantity,groupid,str_instalment,succeededCallback, failedCallback, userContext) {
return this._invoke(WS_Order.get_path(), 'AddToCart2',false,{str_actioncode:str_actioncode,str_refkey:str_refkey,str_style1code:str_style1code,str_style2code:str_style2code,quantity:quantity,groupid:groupid,str_instalment:str_instalment},succeededCallback,failedCallback,userContext); },
GetProductnameIsExists:function(actioncode,refcom,id,succeededCallback, failedCallback, userContext) {
return this._invoke(WS_Order.get_path(), 'GetProductnameIsExists',false,{actioncode:actioncode,refcom:refcom,id:id},succeededCallback,failedCallback,userContext); },
GetProductInformation:function(actioncode,refcom,password,id,succeededCallback, failedCallback, userContext) {
return this._invoke(WS_Order.get_path(), 'GetProductInformation',false,{actioncode:actioncode,refcom:refcom,password:password,id:id},succeededCallback,failedCallback,userContext); }}
WS_Order.registerClass('WS_Order',Sys.Net.WebServiceProxy);
WS_Order._staticInstance = new WS_Order();
WS_Order.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; WS_Order._staticInstance._path = value; }
WS_Order.get_path = function() { return WS_Order._staticInstance._path; }
WS_Order.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
WS_Order._staticInstance._timeout = value; }
WS_Order.get_timeout = function() { 
return WS_Order._staticInstance._timeout; }
WS_Order.set_defaultUserContext = function(value) { 
WS_Order._staticInstance._userContext = value; }
WS_Order.get_defaultUserContext = function() { 
return WS_Order._staticInstance._userContext; }
WS_Order.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; WS_Order._staticInstance._succeeded = value; }
WS_Order.get_defaultSucceededCallback = function() { 
return WS_Order._staticInstance._succeeded; }
WS_Order.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; WS_Order._staticInstance._failed = value; }
WS_Order.get_defaultFailedCallback = function() { 
return WS_Order._staticInstance._failed; }
WS_Order.set_path("/WebService/WS_Order.asmx");
WS_Order.GetShoppingCartInfo= function(onSuccess,onFailed,userContext) {WS_Order._staticInstance.GetShoppingCartInfo(onSuccess,onFailed,userContext); }
WS_Order.AddToCart= function(str_actioncode,str_refkey,str_style1code,str_style2code,quantity,str_instalment,onSuccess,onFailed,userContext) {WS_Order._staticInstance.AddToCart(str_actioncode,str_refkey,str_style1code,str_style2code,quantity,str_instalment,onSuccess,onFailed,userContext); }
WS_Order.AddToCart2= function(str_actioncode,str_refkey,str_style1code,str_style2code,quantity,groupid,str_instalment,onSuccess,onFailed,userContext) {WS_Order._staticInstance.AddToCart2(str_actioncode,str_refkey,str_style1code,str_style2code,quantity,groupid,str_instalment,onSuccess,onFailed,userContext); }
WS_Order.GetProductnameIsExists= function(actioncode,refcom,id,onSuccess,onFailed,userContext) {WS_Order._staticInstance.GetProductnameIsExists(actioncode,refcom,id,onSuccess,onFailed,userContext); }
WS_Order.GetProductInformation= function(actioncode,refcom,password,id,onSuccess,onFailed,userContext) {WS_Order._staticInstance.GetProductInformation(actioncode,refcom,password,id,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(WS_Order_Temp1) === 'undefined') {
var WS_Order_Temp1=gtc("WS_Order+Temp1");
WS_Order_Temp1.registerClass('WS_Order_Temp1');
}
if (typeof(WS_Order_Temp2) === 'undefined') {
var WS_Order_Temp2=gtc("WS_Order+Temp2");
WS_Order_Temp2.registerClass('WS_Order_Temp2');
}
