Type.registerNamespace('MC.ENET');
MC.ENET.ItemService=function() {
MC.ENET.ItemService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MC.ENET.ItemService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return MC.ENET.ItemService._staticInstance.get_path();},
GetCustDiscussion:function(itemNo,desc,pgIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCustDiscussion',false,{itemNo:itemNo,desc:desc,pgIndex:pgIndex},succeededCallback,failedCallback,userContext); },
GetVKitCompPriceandAvail:function(ParentItemNo,SelectedItemNos,PriceDisplay,PriceMatchID,SourceCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetVKitCompPriceandAvail',false,{ParentItemNo:ParentItemNo,SelectedItemNos:SelectedItemNos,PriceDisplay:PriceDisplay,PriceMatchID:PriceMatchID,SourceCode:SourceCode},succeededCallback,failedCallback,userContext); },
GridVKitSelectionChange:function(GridHdr,ParentItemNo,SelectedItemNos,PriceDisplay,PriceMatchID,SourceCode,CompPosition,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GridVKitSelectionChange',false,{GridHdr:GridHdr,ParentItemNo:ParentItemNo,SelectedItemNos:SelectedItemNos,PriceDisplay:PriceDisplay,PriceMatchID:PriceMatchID,SourceCode:SourceCode,CompPosition:CompPosition},succeededCallback,failedCallback,userContext); },
GetSelectedListComp:function(ParentItemNo,SelectedItemNo,SourceCode,PriceDisplay,PriceMatchID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSelectedListComp',false,{ParentItemNo:ParentItemNo,SelectedItemNo:SelectedItemNo,SourceCode:SourceCode,PriceDisplay:PriceDisplay,PriceMatchID:PriceMatchID},succeededCallback,failedCallback,userContext); },
GetSelectedStyleComp:function(ParentItemNo,SelectedPropVal,SelectedPropText,PriceDisplayandPriceMatchID,SourceCode,ErrMsg,topID,leftID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSelectedStyleComp',false,{ParentItemNo:ParentItemNo,SelectedPropVal:SelectedPropVal,SelectedPropText:SelectedPropText,PriceDisplayandPriceMatchID:PriceDisplayandPriceMatchID,SourceCode:SourceCode,ErrMsg:ErrMsg,topID:topID,leftID:leftID},succeededCallback,failedCallback,userContext); },
AddItemToCart:function(ItemNo,ItemType,Qty,AddToOrderItems,PriceOvrdFlag,PriceMatchId,PriceOvrdAmt,Customization,VkitComps,EngItemNo,EngQty,EngItemType,EngCustomization,EngVKits,CustPrice,CustDispText,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddItemToCart',false,{ItemNo:ItemNo,ItemType:ItemType,Qty:Qty,AddToOrderItems:AddToOrderItems,PriceOvrdFlag:PriceOvrdFlag,PriceMatchId:PriceMatchId,PriceOvrdAmt:PriceOvrdAmt,Customization:Customization,VkitComps:VkitComps,EngItemNo:EngItemNo,EngQty:EngQty,EngItemType:EngItemType,EngCustomization:EngCustomization,EngVKits:EngVKits,CustPrice:CustPrice,CustDispText:CustDispText},succeededCallback,failedCallback,userContext); },
AddItemsToCart:function(GridComps,AddToOrderItems,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddItemsToCart',false,{GridComps:GridComps,AddToOrderItems:AddToOrderItems},succeededCallback,failedCallback,userContext); },
AddItemToWishList:function(ItemNo,ItemType,Qty,WebPrice,Surcharge,Stock,PriceOvrdAmt,CustPrice,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddItemToWishList',false,{ItemNo:ItemNo,ItemType:ItemType,Qty:Qty,WebPrice:WebPrice,Surcharge:Surcharge,Stock:Stock,PriceOvrdAmt:PriceOvrdAmt,CustPrice:CustPrice},succeededCallback,failedCallback,userContext); },
AddItemsToWishList:function(GridComps,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddItemsToWishList',false,{GridComps:GridComps},succeededCallback,failedCallback,userContext); },
InsertItemOverallRanking:function(itemno,rank,maxrank,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'InsertItemOverallRanking',false,{itemno:itemno,rank:rank,maxrank:maxrank},succeededCallback,failedCallback,userContext); },
GetGroupItems:function(itemNo,topID,leftID,InteractiveImgID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetGroupItems',false,{itemNo:itemNo,topID:topID,leftID:leftID,InteractiveImgID:InteractiveImgID},succeededCallback,failedCallback,userContext); },
GetAlternativeImgView:function(ParentItemNo,ParentItemType,SelectedItemNo,SourceCode,selectedImgID,topID,leftID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAlternativeImgView',false,{ParentItemNo:ParentItemNo,ParentItemType:ParentItemType,SelectedItemNo:SelectedItemNo,SourceCode:SourceCode,selectedImgID:selectedImgID,topID:topID,leftID:leftID},succeededCallback,failedCallback,userContext); },
CalIntItemPrice:function(ParentItemNo,AttachedItemIDs,SourceCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CalIntItemPrice',false,{ParentItemNo:ParentItemNo,AttachedItemIDs:AttachedItemIDs,SourceCode:SourceCode},succeededCallback,failedCallback,userContext); },
GetNoAttachmentErr:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetNoAttachmentErr',false,{},succeededCallback,failedCallback,userContext); }}
MC.ENET.ItemService.registerClass('MC.ENET.ItemService',Sys.Net.WebServiceProxy);
MC.ENET.ItemService._staticInstance = new MC.ENET.ItemService();
MC.ENET.ItemService.set_path = function(value) { MC.ENET.ItemService._staticInstance.set_path(value); }
MC.ENET.ItemService.get_path = function() { return MC.ENET.ItemService._staticInstance.get_path(); }
MC.ENET.ItemService.set_timeout = function(value) { MC.ENET.ItemService._staticInstance.set_timeout(value); }
MC.ENET.ItemService.get_timeout = function() { return MC.ENET.ItemService._staticInstance.get_timeout(); }
MC.ENET.ItemService.set_defaultUserContext = function(value) { MC.ENET.ItemService._staticInstance.set_defaultUserContext(value); }
MC.ENET.ItemService.get_defaultUserContext = function() { return MC.ENET.ItemService._staticInstance.get_defaultUserContext(); }
MC.ENET.ItemService.set_defaultSucceededCallback = function(value) { MC.ENET.ItemService._staticInstance.set_defaultSucceededCallback(value); }
MC.ENET.ItemService.get_defaultSucceededCallback = function() { return MC.ENET.ItemService._staticInstance.get_defaultSucceededCallback(); }
MC.ENET.ItemService.set_defaultFailedCallback = function(value) { MC.ENET.ItemService._staticInstance.set_defaultFailedCallback(value); }
MC.ENET.ItemService.get_defaultFailedCallback = function() { return MC.ENET.ItemService._staticInstance.get_defaultFailedCallback(); }
MC.ENET.ItemService.set_enableJsonp = function(value) { MC.ENET.ItemService._staticInstance.set_enableJsonp(value); }
MC.ENET.ItemService.get_enableJsonp = function() { return MC.ENET.ItemService._staticInstance.get_enableJsonp(); }
MC.ENET.ItemService.set_jsonpCallbackParameter = function(value) { MC.ENET.ItemService._staticInstance.set_jsonpCallbackParameter(value); }
MC.ENET.ItemService.get_jsonpCallbackParameter = function() { return MC.ENET.ItemService._staticInstance.get_jsonpCallbackParameter(); }
MC.ENET.ItemService.set_path("/MCWebServices/ItemService.asmx");
MC.ENET.ItemService.GetCustDiscussion= function(itemNo,desc,pgIndex,onSuccess,onFailed,userContext) {MC.ENET.ItemService._staticInstance.GetCustDiscussion(itemNo,desc,pgIndex,onSuccess,onFailed,userContext); }
MC.ENET.ItemService.GetVKitCompPriceandAvail= function(ParentItemNo,SelectedItemNos,PriceDisplay,PriceMatchID,SourceCode,onSuccess,onFailed,userContext) {MC.ENET.ItemService._staticInstance.GetVKitCompPriceandAvail(ParentItemNo,SelectedItemNos,PriceDisplay,PriceMatchID,SourceCode,onSuccess,onFailed,userContext); }
MC.ENET.ItemService.GridVKitSelectionChange= function(GridHdr,ParentItemNo,SelectedItemNos,PriceDisplay,PriceMatchID,SourceCode,CompPosition,onSuccess,onFailed,userContext) {MC.ENET.ItemService._staticInstance.GridVKitSelectionChange(GridHdr,ParentItemNo,SelectedItemNos,PriceDisplay,PriceMatchID,SourceCode,CompPosition,onSuccess,onFailed,userContext); }
MC.ENET.ItemService.GetSelectedListComp= function(ParentItemNo,SelectedItemNo,SourceCode,PriceDisplay,PriceMatchID,onSuccess,onFailed,userContext) {MC.ENET.ItemService._staticInstance.GetSelectedListComp(ParentItemNo,SelectedItemNo,SourceCode,PriceDisplay,PriceMatchID,onSuccess,onFailed,userContext); }
MC.ENET.ItemService.GetSelectedStyleComp= function(ParentItemNo,SelectedPropVal,SelectedPropText,PriceDisplayandPriceMatchID,SourceCode,ErrMsg,topID,leftID,onSuccess,onFailed,userContext) {MC.ENET.ItemService._staticInstance.GetSelectedStyleComp(ParentItemNo,SelectedPropVal,SelectedPropText,PriceDisplayandPriceMatchID,SourceCode,ErrMsg,topID,leftID,onSuccess,onFailed,userContext); }
MC.ENET.ItemService.AddItemToCart= function(ItemNo,ItemType,Qty,AddToOrderItems,PriceOvrdFlag,PriceMatchId,PriceOvrdAmt,Customization,VkitComps,EngItemNo,EngQty,EngItemType,EngCustomization,EngVKits,CustPrice,CustDispText,onSuccess,onFailed,userContext) {MC.ENET.ItemService._staticInstance.AddItemToCart(ItemNo,ItemType,Qty,AddToOrderItems,PriceOvrdFlag,PriceMatchId,PriceOvrdAmt,Customization,VkitComps,EngItemNo,EngQty,EngItemType,EngCustomization,EngVKits,CustPrice,CustDispText,onSuccess,onFailed,userContext); }
MC.ENET.ItemService.AddItemsToCart= function(GridComps,AddToOrderItems,onSuccess,onFailed,userContext) {MC.ENET.ItemService._staticInstance.AddItemsToCart(GridComps,AddToOrderItems,onSuccess,onFailed,userContext); }
MC.ENET.ItemService.AddItemToWishList= function(ItemNo,ItemType,Qty,WebPrice,Surcharge,Stock,PriceOvrdAmt,CustPrice,onSuccess,onFailed,userContext) {MC.ENET.ItemService._staticInstance.AddItemToWishList(ItemNo,ItemType,Qty,WebPrice,Surcharge,Stock,PriceOvrdAmt,CustPrice,onSuccess,onFailed,userContext); }
MC.ENET.ItemService.AddItemsToWishList= function(GridComps,onSuccess,onFailed,userContext) {MC.ENET.ItemService._staticInstance.AddItemsToWishList(GridComps,onSuccess,onFailed,userContext); }
MC.ENET.ItemService.InsertItemOverallRanking= function(itemno,rank,maxrank,onSuccess,onFailed,userContext) {MC.ENET.ItemService._staticInstance.InsertItemOverallRanking(itemno,rank,maxrank,onSuccess,onFailed,userContext); }
MC.ENET.ItemService.GetGroupItems= function(itemNo,topID,leftID,InteractiveImgID,onSuccess,onFailed,userContext) {MC.ENET.ItemService._staticInstance.GetGroupItems(itemNo,topID,leftID,InteractiveImgID,onSuccess,onFailed,userContext); }
MC.ENET.ItemService.GetAlternativeImgView= function(ParentItemNo,ParentItemType,SelectedItemNo,SourceCode,selectedImgID,topID,leftID,onSuccess,onFailed,userContext) {MC.ENET.ItemService._staticInstance.GetAlternativeImgView(ParentItemNo,ParentItemType,SelectedItemNo,SourceCode,selectedImgID,topID,leftID,onSuccess,onFailed,userContext); }
MC.ENET.ItemService.CalIntItemPrice= function(ParentItemNo,AttachedItemIDs,SourceCode,onSuccess,onFailed,userContext) {MC.ENET.ItemService._staticInstance.CalIntItemPrice(ParentItemNo,AttachedItemIDs,SourceCode,onSuccess,onFailed,userContext); }
MC.ENET.ItemService.GetNoAttachmentErr= function(onSuccess,onFailed,userContext) {MC.ENET.ItemService._staticInstance.GetNoAttachmentErr(onSuccess,onFailed,userContext); }

