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) {
		return this.invoke("DeleteCartItem", {"invId":invId}, this.DeleteCartItem.getArguments().slice(1));
	},
	EmptyCart: function() {
		return this.invoke("EmptyCart", {}, this.EmptyCart.getArguments().slice(0));
	},
	UpdateQuantity: function(invId, quantity) {
		return this.invoke("UpdateQuantity", {"invId":invId, "quantity":quantity}, this.UpdateQuantity.getArguments().slice(2));
	},
	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));
	},
	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();

