if(typeof HlInfo == "undefined") HlInfo={};
if(typeof HlInfo.Shop2 == "undefined") HlInfo.Shop2={};
if(typeof HlInfo.Shop2.DAL == "undefined") HlInfo.Shop2.DAL={};
if(typeof HlInfo.Shop2.DAL.Cart == "undefined") HlInfo.Shop2.DAL.Cart={};
HlInfo.Shop2.DAL.Cart_class = function() {};
Object.extend(HlInfo.Shop2.DAL.Cart_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	PutProductToCart: function(product_code) {
		return this.invoke("PutProductToCart", {"product_code":product_code}, this.PutProductToCart.getArguments().slice(1));
	},
	PutDelProductToCart: function(product_code) {
		return this.invoke("PutDelProductToCart", {"product_code":product_code}, this.PutDelProductToCart.getArguments().slice(1));
	},
	delProducts: function() {
		return this.invoke("delProducts", {}, this.delProducts.getArguments().slice(0));
	},
	DelDelete: function(product_code) {
		return this.invoke("DelDelete", {"product_code":product_code}, this.DelDelete.getArguments().slice(1));
	},
	Delete: function(product_code) {
		return this.invoke("Delete", {"product_code":product_code}, this.Delete.getArguments().slice(1));
	},
	Clear: function() {
		return this.invoke("Clear", {}, this.Clear.getArguments().slice(0));
	},
	UpdateQuantity: function(product_code, quantity) {
		return this.invoke("UpdateQuantity", {"product_code":product_code, "quantity":quantity}, this.UpdateQuantity.getArguments().slice(2));
	},
	SaveToDatabase: function() {
		return this.invoke("SaveToDatabase", {}, this.SaveToDatabase.getArguments().slice(0));
	},
	submitState: function() {
		return this.invoke("submitState", {}, this.submitState.getArguments().slice(0));
	},
	SaveToDatabases: function() {
		return this.invoke("SaveToDatabases", {}, this.SaveToDatabases.getArguments().slice(0));
	},
	url: '/ajaxpro/HlInfo.Shop2.DAL.Cart,App_Code.ashx'
}));
HlInfo.Shop2.DAL.Cart = new HlInfo.Shop2.DAL.Cart_class();

