if(typeof Hardcore == "undefined") Hardcore={};
if(typeof Hardcore.AjaxAPI == "undefined") Hardcore.AjaxAPI={};
if(typeof Hardcore.AjaxAPI.Cart == "undefined") Hardcore.AjaxAPI.Cart={};
Hardcore.AjaxAPI.Cart_class = function() {};
Object.extend(Hardcore.AjaxAPI.Cart_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	Create: function() {
		return this.invoke("Create", {}, this.Create.getArguments().slice(0));
	},
	Update: function(Key, Line, ProductID, Quantity, OverrideQuantity) {
		return this.invoke("Update", {"Key":Key, "Line":Line, "ProductID":ProductID, "Quantity":Quantity, "OverrideQuantity":OverrideQuantity}, this.Update.getArguments().slice(5));
	},
	UpdateConfigured: function(Key, Line, ProductID, xml) {
		return this.invoke("UpdateConfigured", {"Key":Key, "Line":Line, "ProductID":ProductID, "xml":xml}, this.UpdateConfigured.getArguments().slice(4));
	},
	UpdateShippingMethod: function(Key, shippingMethodValue) {
		return this.invoke("UpdateShippingMethod", {"Key":Key, "shippingMethodValue":shippingMethodValue}, this.UpdateShippingMethod.getArguments().slice(2));
	},
	Remove: function(Key, Line) {
		return this.invoke("Remove", {"Key":Key, "Line":Line}, this.Remove.getArguments().slice(2));
	},
	UpdateInfo: function(Key, xmlInfo) {
		return this.invoke("UpdateInfo", {"Key":Key, "xmlInfo":xmlInfo}, this.UpdateInfo.getArguments().slice(2));
	},
	Get: function(Key, isEditable, verifiedXML) {
		return this.invoke("Get", {"Key":Key, "isEditable":isEditable, "verifiedXML":verifiedXML}, this.Get.getArguments().slice(3));
	},
	GetVerified: function(Key, cardNumber, cardMonth, cardYear, cardVerificationNumber) {
		return this.invoke("GetVerified", {"Key":Key, "cardNumber":cardNumber, "cardMonth":cardMonth, "cardYear":cardYear, "cardVerificationNumber":cardVerificationNumber}, this.GetVerified.getArguments().slice(5));
	},
	OrderCreate: function(Key, bQueue, bVerify, sCardNumber, iCardMonth, iCardYear, sCartVerificationNumber, password, bUpdateAccount) {
		return this.invoke("OrderCreate", {"Key":Key, "bQueue":bQueue, "bVerify":bVerify, "sCardNumber":sCardNumber, "iCardMonth":iCardMonth, "iCardYear":iCardYear, "sCartVerificationNumber":sCartVerificationNumber, "password":password, "bUpdateAccount":bUpdateAccount}, this.OrderCreate.getArguments().slice(9));
	},
	CartAddressRetrieve: function(Key) {
		return this.invoke("CartAddressRetrieve", {"Key":Key}, this.CartAddressRetrieve.getArguments().slice(1));
	},
	url: '/ajaxpro/Hardcore.AjaxAPI.Cart,HardcoreC4Site_deploy.ashx'
}));
Hardcore.AjaxAPI.Cart = new Hardcore.AjaxAPI.Cart_class();

