if(typeof Skolegenser == "undefined") Skolegenser={};
if(typeof Skolegenser.Templates == "undefined") Skolegenser.Templates={};
if(typeof Skolegenser.Templates.Documents == "undefined") Skolegenser.Templates.Documents={};
if(typeof Skolegenser.Templates.Documents.ShoppingOrder == "undefined") Skolegenser.Templates.Documents.ShoppingOrder={};
if(typeof Skolegenser.Templates.Documents.ShoppingOrder.AjaxFactory == "undefined") Skolegenser.Templates.Documents.ShoppingOrder.AjaxFactory={};
Skolegenser.Templates.Documents.ShoppingOrder.AjaxFactory_class = function() {};
Object.extend(Skolegenser.Templates.Documents.ShoppingOrder.AjaxFactory_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	SetOrderStatus: function(orderID, status) {
		return this.invoke("SetOrderStatus", {"orderID":orderID, "status":status}, this.SetOrderStatus.getArguments().slice(2));
	},
	SetPaymentStatus: function(orderID, status) {
		return this.invoke("SetPaymentStatus", {"orderID":orderID, "status":status}, this.SetPaymentStatus.getArguments().slice(2));
	},
	SetCollectorNotified: function(orderID) {
		return this.invoke("SetCollectorNotified", {"orderID":orderID}, this.SetCollectorNotified.getArguments().slice(1));
	},
	DeleteItemFromOrder: function(orderID, productID, sizeID, distinction) {
		return this.invoke("DeleteItemFromOrder", {"orderID":orderID, "productID":productID, "sizeID":sizeID, "distinction":distinction}, this.DeleteItemFromOrder.getArguments().slice(4));
	},
	url: '/ajaxpro/Skolegenser.Templates.Documents.ShoppingOrder.AjaxFactory,Skolegenser.ashx'
}));
Skolegenser.Templates.Documents.ShoppingOrder.AjaxFactory = new Skolegenser.Templates.Documents.ShoppingOrder.AjaxFactory_class();

