public void SetParameters(string hotelId, string roomTypeId, int rpId, DateTime cin, DateTime cout, decimal totalPrice, EnumGuestTypeCode guestType, EnumCurrencyCode currency, EnumPaymentType paymentType, int numOfRooms) { this.hotelId = hotelId; this.roomTypeId = roomTypeId; this.rpId = rpId; this.cin = cin; this.cout = cout; this.totalPrice = totalPrice; this.guestType = guestType; this.currency = currency; this.paymentType = paymentType; this.numOfRooms = numOfRooms; _isInited = true; }
public double ConvertBidCurrency(double bid, EnumCurrencyCode ori, EnumCurrencyCode des) { Initialisation(); return userHandler.ConvertBidCurrency(bid, ori, des); }
/// <summary> /// Convert the bid value from an currency to another /// It uses a webservice call /// </summary> /// <param name="bid">price in the ori currency</param> /// <param name="ori">currency of the bid</param> /// <param name="des">destination currency</param> /// <returns></returns> public double ConvertBidCurrency(double bid, EnumCurrencyCode ori, EnumCurrencyCode des) { return this._serviceOther.ConvertValue(bid, ori.ToString(), des.ToString()); }
private double ConvertBidCurrency(double bid, EnumCurrencyCode ori, EnumCurrencyCode des) { return SL_Scheduler.otherService.ConvertValue(bid, ori.ToString(), des.ToString()); }