Type.registerNamespace('comoffice.webstore');
comoffice.webstore.OrderService=function() {
comoffice.webstore.OrderService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
comoffice.webstore.OrderService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return comoffice.webstore.OrderService._staticInstance.get_path();},
GetPendingOrder:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPendingOrder',false,{},succeededCallback,failedCallback,userContext); },
GetRemarks:function(id,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRemarks',false,{id:id},succeededCallback,failedCallback,userContext); },
UpdateRemarks:function(remarks,id,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateRemarks',false,{remarks:remarks,id:id},succeededCallback,failedCallback,userContext); }}
comoffice.webstore.OrderService.registerClass('comoffice.webstore.OrderService',Sys.Net.WebServiceProxy);
comoffice.webstore.OrderService._staticInstance = new comoffice.webstore.OrderService();
comoffice.webstore.OrderService.set_path = function(value) { comoffice.webstore.OrderService._staticInstance.set_path(value); }
comoffice.webstore.OrderService.get_path = function() { return comoffice.webstore.OrderService._staticInstance.get_path(); }
comoffice.webstore.OrderService.set_timeout = function(value) { comoffice.webstore.OrderService._staticInstance.set_timeout(value); }
comoffice.webstore.OrderService.get_timeout = function() { return comoffice.webstore.OrderService._staticInstance.get_timeout(); }
comoffice.webstore.OrderService.set_defaultUserContext = function(value) { comoffice.webstore.OrderService._staticInstance.set_defaultUserContext(value); }
comoffice.webstore.OrderService.get_defaultUserContext = function() { return comoffice.webstore.OrderService._staticInstance.get_defaultUserContext(); }
comoffice.webstore.OrderService.set_defaultSucceededCallback = function(value) { comoffice.webstore.OrderService._staticInstance.set_defaultSucceededCallback(value); }
comoffice.webstore.OrderService.get_defaultSucceededCallback = function() { return comoffice.webstore.OrderService._staticInstance.get_defaultSucceededCallback(); }
comoffice.webstore.OrderService.set_defaultFailedCallback = function(value) { comoffice.webstore.OrderService._staticInstance.set_defaultFailedCallback(value); }
comoffice.webstore.OrderService.get_defaultFailedCallback = function() { return comoffice.webstore.OrderService._staticInstance.get_defaultFailedCallback(); }
comoffice.webstore.OrderService.set_path("/Webservice/OrderService.asmx");
comoffice.webstore.OrderService.GetPendingOrder= function(onSuccess,onFailed,userContext) {comoffice.webstore.OrderService._staticInstance.GetPendingOrder(onSuccess,onFailed,userContext); }
comoffice.webstore.OrderService.GetRemarks= function(id,onSuccess,onFailed,userContext) {comoffice.webstore.OrderService._staticInstance.GetRemarks(id,onSuccess,onFailed,userContext); }
comoffice.webstore.OrderService.UpdateRemarks= function(remarks,id,onSuccess,onFailed,userContext) {comoffice.webstore.OrderService._staticInstance.UpdateRemarks(remarks,id,onSuccess,onFailed,userContext); }
