if(typeof apartmentsapart == "undefined") apartmentsapart={};
if(typeof apartmentsapart.Modules == "undefined") apartmentsapart.Modules={};
apartmentsapart.Modules.PriceCalculations_class = function() {};
Object.extend(apartmentsapart.Modules.PriceCalculations_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetOfferInfo: function(ReservationID, DomainID, RealDomainID, GUID, OfferID, ApartmentID, CityID, Lang, OptionID) {
		return this.invoke("GetOfferInfo", {"ReservationID":ReservationID, "DomainID":DomainID, "RealDomainID":RealDomainID, "GUID":GUID, "OfferID":OfferID, "ApartmentID":ApartmentID, "CityID":CityID, "Lang":Lang, "OptionID":OptionID}, this.GetOfferInfo.getArguments().slice(9));
	},
	IsMinStayValid: function(df, dt, minStay) {
		return this.invoke("IsMinStayValid", {"df":df, "dt":dt, "minStay":minStay}, this.IsMinStayValid.getArguments().slice(3));
	},
	GetMinStay: function(ApaartmentID, df, dt, cityID) {
		return this.invoke("GetMinStay", {"ApaartmentID":ApaartmentID, "df":df, "dt":dt, "cityID":cityID}, this.GetMinStay.getArguments().slice(4));
	},
	GetPrices: function(AptID, df, dt, NOP, DomainID, version) {
		return this.invoke("GetPrices", {"AptID":AptID, "df":df, "dt":dt, "NOP":NOP, "DomainID":DomainID, "version":version}, this.GetPrices.getArguments().slice(6));
	},
	SetCurrency: function(CityID, currency) {
		return this.invoke("SetCurrency", {"CityID":CityID, "currency":currency}, this.SetCurrency.getArguments().slice(2));
	},
	GetDetailedCalculation: function(nApartmentID, nNOP, df, dt) {
		return this.invoke("GetDetailedCalculation", {"nApartmentID":nApartmentID, "nNOP":nNOP, "df":df, "dt":dt}, this.GetDetailedCalculation.getArguments().slice(4));
	},
	url: '/ajaxpro/apartmentsapart.Modules.PriceCalculations,apartmentsapart.ashx'
}));
apartmentsapart.Modules.PriceCalculations = new apartmentsapart.Modules.PriceCalculations_class();


