if(typeof PurpleParrot == "undefined") PurpleParrot={};
if(typeof PurpleParrot.Storefront == "undefined") PurpleParrot.Storefront={};
if(typeof PurpleParrot.Storefront.WebUI == "undefined") PurpleParrot.Storefront.WebUI={};
if(typeof PurpleParrot.Storefront.WebUI.Cart_WebUserControls_ShoppingCart == "undefined") PurpleParrot.Storefront.WebUI.Cart_WebUserControls_ShoppingCart={};
PurpleParrot.Storefront.WebUI.Cart_WebUserControls_ShoppingCart_class = function() {};
Object.extend(PurpleParrot.Storefront.WebUI.Cart_WebUserControls_ShoppingCart_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetShoppingCart: function() {
		return this.invoke("GetShoppingCart", {}, this.GetShoppingCart.getArguments().slice(0));
	},
	DeleteCartItem: function(invId, Element1Id, Element2Id) {
		return this.invoke("DeleteCartItem", {"invId":invId, "Element1Id":Element1Id, "Element2Id":Element2Id}, this.DeleteCartItem.getArguments().slice(3));
	},
	EmptyCart: function() {
		return this.invoke("EmptyCart", {}, this.EmptyCart.getArguments().slice(0));
	},
	UpdateQuantity: function(invId, quantity, element1Id, element2Id, UserInput) {
		return this.invoke("UpdateQuantity", {"invId":invId, "quantity":quantity, "element1Id":element1Id, "element2Id":element2Id, "UserInput":UserInput}, this.UpdateQuantity.getArguments().slice(5));
	},
	GetCartCount: function() {
		return this.invoke("GetCartCount", {}, this.GetCartCount.getArguments().slice(0));
	},
	GetTaxTotal: function(stateCode) {
		return this.invoke("GetTaxTotal", {"stateCode":stateCode}, this.GetTaxTotal.getArguments().slice(1));
	},
	GetShippingTotal: function(zipCode) {
		return this.invoke("GetShippingTotal", {"zipCode":zipCode}, this.GetShippingTotal.getArguments().slice(1));
	},
	GetOrderTotal: function() {
		return this.invoke("GetOrderTotal", {}, this.GetOrderTotal.getArguments().slice(0));
	},
	SetTaxTotal: function() {
		return this.invoke("SetTaxTotal", {}, this.SetTaxTotal.getArguments().slice(0));
	},
	SetShippingTotal: function() {
		return this.invoke("SetShippingTotal", {}, this.SetShippingTotal.getArguments().slice(0));
	},
	GetItemCount: function() {
		return this.invoke("GetItemCount", {}, this.GetItemCount.getArguments().slice(0));
	},
	url: '/ajaxpro/PurpleParrot.Storefront.WebUI.Cart_WebUserControls_ShoppingCart,PurpleParrot.Storefront.WebUI.ashx'
}));
PurpleParrot.Storefront.WebUI.Cart_WebUserControls_ShoppingCart = new PurpleParrot.Storefront.WebUI.Cart_WebUserControls_ShoppingCart_class();

