if(typeof FreightRules == "undefined") FreightRules={};
FreightRules_class = function() {};
Object.extend(FreightRules_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetRules: function() {
		return this.invoke("GetRules", {}, this.GetRules.getArguments().slice(0));
	},
	ModifyRule: function(tradeMode, areaType, free, standardWeight, standardSum, standardCoefficient, overWeight, overSum, overCoefficient) {
		return this.invoke("ModifyRule", {"tradeMode":tradeMode, "areaType":areaType, "free":free, "standardWeight":standardWeight, "standardSum":standardSum, "standardCoefficient":standardCoefficient, "overWeight":overWeight, "overSum":overSum, "overCoefficient":overCoefficient}, this.ModifyRule.getArguments().slice(9));
	},
	Calculate: function(tradeMode, deliveryMode, areaType, weight, sum) {
		return this.invoke("Calculate", {"tradeMode":tradeMode, "deliveryMode":deliveryMode, "areaType":areaType, "weight":weight, "sum":sum}, this.Calculate.getArguments().slice(5));
	},
	url: '/ajaxpro/FreightRules,App_Code.ashx'
}));
FreightRules = new FreightRules_class();

