Type.registerNamespace('UnitedMicro_2.WebServices');
UnitedMicro_2.WebServices.PricingService=function() {
UnitedMicro_2.WebServices.PricingService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
UnitedMicro_2.WebServices.PricingService.prototype={
GetPrice:function(pricingParams,applied_P_PE_PEI,isCouponApplied,productElementID,WebsiteID,succeededCallback, failedCallback, userContext) {
return this._invoke(UnitedMicro_2.WebServices.PricingService.get_path(), 'GetPrice',true,{pricingParams:pricingParams,applied_P_PE_PEI:applied_P_PE_PEI,isCouponApplied:isCouponApplied,productElementID:productElementID,WebsiteID:WebsiteID},succeededCallback,failedCallback,userContext); },
GetPriceForComboBox:function(pricingParams,applied_P_PE_PEI,isCouponApplied,productElementID,hidClientID,hidPrices,productID,comboPackID,hidActualPrices,WebSiteID,succeededCallback, failedCallback, userContext) {
return this._invoke(UnitedMicro_2.WebServices.PricingService.get_path(), 'GetPriceForComboBox',true,{pricingParams:pricingParams,applied_P_PE_PEI:applied_P_PE_PEI,isCouponApplied:isCouponApplied,productElementID:productElementID,hidClientID:hidClientID,hidPrices:hidPrices,productID:productID,comboPackID:comboPackID,hidActualPrices:hidActualPrices,WebSiteID:WebSiteID},succeededCallback,failedCallback,userContext); },
GetPriceForUpgrade:function(pricingParams,applied_P_PE_PEI,iJobID,newQuantity,numberOfNextProducts,currentProductID,currentQuantity,currentPPEPEIID,currTotPrice,oldPrice,orderID,subTotal,sPromoCode,WebsiteID,succeededCallback, failedCallback, userContext) {
return this._invoke(UnitedMicro_2.WebServices.PricingService.get_path(), 'GetPriceForUpgrade',true,{pricingParams:pricingParams,applied_P_PE_PEI:applied_P_PE_PEI,iJobID:iJobID,newQuantity:newQuantity,numberOfNextProducts:numberOfNextProducts,currentProductID:currentProductID,currentQuantity:currentQuantity,currentPPEPEIID:currentPPEPEIID,currTotPrice:currTotPrice,oldPrice:oldPrice,orderID:orderID,subTotal:subTotal,sPromoCode:sPromoCode,WebsiteID:WebsiteID},succeededCallback,failedCallback,userContext); }}
UnitedMicro_2.WebServices.PricingService.registerClass('UnitedMicro_2.WebServices.PricingService',Sys.Net.WebServiceProxy);
UnitedMicro_2.WebServices.PricingService._staticInstance = new UnitedMicro_2.WebServices.PricingService();
UnitedMicro_2.WebServices.PricingService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; UnitedMicro_2.WebServices.PricingService._staticInstance._path = value; }
UnitedMicro_2.WebServices.PricingService.get_path = function() { return UnitedMicro_2.WebServices.PricingService._staticInstance._path; }
UnitedMicro_2.WebServices.PricingService.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); }
UnitedMicro_2.WebServices.PricingService._staticInstance._timeout = value; }
UnitedMicro_2.WebServices.PricingService.get_timeout = function() { 
return UnitedMicro_2.WebServices.PricingService._staticInstance._timeout; }
UnitedMicro_2.WebServices.PricingService.set_defaultUserContext = function(value) { 
UnitedMicro_2.WebServices.PricingService._staticInstance._userContext = value; }
UnitedMicro_2.WebServices.PricingService.get_defaultUserContext = function() { 
return UnitedMicro_2.WebServices.PricingService._staticInstance._userContext; }
UnitedMicro_2.WebServices.PricingService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; UnitedMicro_2.WebServices.PricingService._staticInstance._succeeded = value; }
UnitedMicro_2.WebServices.PricingService.get_defaultSucceededCallback = function() { 
return UnitedMicro_2.WebServices.PricingService._staticInstance._succeeded; }
UnitedMicro_2.WebServices.PricingService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; UnitedMicro_2.WebServices.PricingService._staticInstance._failed = value; }
UnitedMicro_2.WebServices.PricingService.get_defaultFailedCallback = function() { 
return UnitedMicro_2.WebServices.PricingService._staticInstance._failed; }
UnitedMicro_2.WebServices.PricingService.set_path("/WebServices/PricingService.asmx");
UnitedMicro_2.WebServices.PricingService.GetPrice= function(pricingParams,applied_P_PE_PEI,isCouponApplied,productElementID,WebsiteID,onSuccess,onFailed,userContext) {UnitedMicro_2.WebServices.PricingService._staticInstance.GetPrice(pricingParams,applied_P_PE_PEI,isCouponApplied,productElementID,WebsiteID,onSuccess,onFailed,userContext); }
UnitedMicro_2.WebServices.PricingService.GetPriceForComboBox= function(pricingParams,applied_P_PE_PEI,isCouponApplied,productElementID,hidClientID,hidPrices,productID,comboPackID,hidActualPrices,WebSiteID,onSuccess,onFailed,userContext) {UnitedMicro_2.WebServices.PricingService._staticInstance.GetPriceForComboBox(pricingParams,applied_P_PE_PEI,isCouponApplied,productElementID,hidClientID,hidPrices,productID,comboPackID,hidActualPrices,WebSiteID,onSuccess,onFailed,userContext); }
UnitedMicro_2.WebServices.PricingService.GetPriceForUpgrade= function(pricingParams,applied_P_PE_PEI,iJobID,newQuantity,numberOfNextProducts,currentProductID,currentQuantity,currentPPEPEIID,currTotPrice,oldPrice,orderID,subTotal,sPromoCode,WebsiteID,onSuccess,onFailed,userContext) {UnitedMicro_2.WebServices.PricingService._staticInstance.GetPriceForUpgrade(pricingParams,applied_P_PE_PEI,iJobID,newQuantity,numberOfNextProducts,currentProductID,currentQuantity,currentPPEPEIID,currTotPrice,oldPrice,orderID,subTotal,sPromoCode,WebsiteID,onSuccess,onFailed,userContext); }
