示例#1
0
 //*Added by rahul for Saving BookingItems table data to Booking details table on 28/02/20
 public static long SaveIntialBookingDetailsData(CLayer.BookingItem data)
 {
     DataLayer.BookingItem bi = new DataLayer.BookingItem();
     if (data.NoOfDays < 1 && data.CheckOut > data.CheckIn)
     {
         data.NoOfDays = (data.CheckOut - data.CheckIn).Days;
     }
     return(bi.SaveIntialBookingDetailsData(data));
 }
示例#2
0
 public static string GetOfferAppliedAsString(long bookingItemId)
 {
     DataLayer.BookingItem bi = new DataLayer.BookingItem();
     return(bi.GetOfferAppliedAsString(bookingItemId));
 }
示例#3
0
 public static List <CLayer.BookingItem> GetAccomodationFromBookingCode(string BookingCode)
 {
     DataLayer.BookingItem bi = new DataLayer.BookingItem();
     return(bi.GetAccomodationFromBookingCode(BookingCode));
 }
示例#4
0
 public static int GetBookedUserId(long bookingItemId)
 {
     DataLayer.BookingItem bi = new DataLayer.BookingItem();
     return(bi.GetBookedUserId(bookingItemId));
 }
示例#5
0
 public static string GetRatesApplied(long bookingItemId)
 {
     DataLayer.BookingItem bi = new DataLayer.BookingItem();
     return(bi.GetRatesApplied(bookingItemId));
 }
示例#6
0
 public static void UpdateGDSCurrencyDetails(CLayer.BookingItem pBookingItem)
 {
     DataLayer.BookingItem bi = new DataLayer.BookingItem();
     bi.UpdateGDSCurrencyDetails(pBookingItem);
 }
示例#7
0
 public static void UpdateHotelConfirmNumber(long bookingId, long AccommodationID, string HotelConfirmNumber)
 {
     DataLayer.BookingItem bi = new DataLayer.BookingItem();
     bi.UpdateHotelConfirmNumber(bookingId, AccommodationID, HotelConfirmNumber);
 }
示例#8
0
        public static void  SaveGDSCountry(CLayer.BookingItem data)
        {
            DataLayer.BookingItem bi = new DataLayer.BookingItem();

            bi.SaveGDSCountry(data);
        }
示例#9
0
 public static long GetAssisted_By(long BookingId)
 {
     DataLayer.BookingItem bi = new DataLayer.BookingItem();
     return(bi.GetAssisted_By(BookingId));
 }
示例#10
0
 public static string GetBillingFor(long BookingId)
 {
     DataLayer.BookingItem bi = new DataLayer.BookingItem();
     return(bi.GetBillingFor(BookingId));
 }
示例#11
0
 //*Added by Rahul for Updating the values for BilingFor and BookingFor Columns in Booking Table UpdateBillingAndBookingForInBookingTable
 public static void UpdateBillingAndBookingForInBookingTable(long bookingid, string BookingFor, string BillingFor, long AssistedCorporateUserID)
 {
     DataLayer.BookingItem bi = new DataLayer.BookingItem();
     bi.UpdateBillingAndBookingForInBookingTable(bookingid, BookingFor, BillingFor, AssistedCorporateUserID);
 }
示例#12
0
 public static void UpdateCustomBook(long bookitemId, long IsCustomBook)
 {
     DataLayer.BookingItem bi = new DataLayer.BookingItem();
     bi.UpdateCustomBook(bookitemId, IsCustomBook);
 }
示例#13
0
 public static void SetCancAmount(long bookitemId, decimal cancAccCharge, decimal totalAmount)
 {
     DataLayer.BookingItem bi = new DataLayer.BookingItem();
     bi.SetCancAmount(bookitemId, cancAccCharge, totalAmount);
 }
示例#14
0
        //***

        public static void SavePartialAmount(long bookingId, decimal Partialamountperc, decimal Partialamount, decimal remainingamount)
        {
            DataLayer.BookingItem bi = new DataLayer.BookingItem();
            bi.SavePartialAmount(bookingId, Partialamountperc, Partialamount, remainingamount);
        }
示例#15
0
 //***Save Amount for offlinebookings bookingdetails
 //**Added by rahul on 29/02/20
 public static void SaveBookingDetailsAmounts(CLayer.BookingItem data)
 {
     DataLayer.BookingItem bi = new DataLayer.BookingItem();
     bi.SaveBookingDetailsAmounts(data);
 }
示例#16
0
 public static void AddOffer(long bookingItemId, long offerId, string offerTitle)
 {
     DataLayer.BookingItem bi = new DataLayer.BookingItem();
     bi.AddOffer(bookingItemId, offerId, offerTitle);
 }
示例#17
0
        //******

        public static string GetGDSCountry(long BookingId)
        {
            DataLayer.BookingItem bi = new DataLayer.BookingItem();
            return(bi.GetGDSCountry(BookingId));
        }
示例#18
0
 public static List <CLayer.BookingItem> GetIncompleteGDSBookings()
 {
     DataLayer.BookingItem bi = new DataLayer.BookingItem();
     return(bi.GetIncompleteGDSBookings());
 }
示例#19
0
 //**Added by Rahul
 //**For saving Offline booking - offlinebookingtaxesGST
 public static long SaveOfflineBookingtaxdata(long BookId, long BItId, long TaxTitleId, decimal rate, decimal TaxAmountBItem)
 {
     DataLayer.BookingItem bi = new DataLayer.BookingItem();
     return(bi.SaveOfflineBookingtaxdata(BookId, BItId, TaxTitleId, rate, TaxAmountBItem));
 }
示例#20
0
 //*This is for getting details of offlinebooking
 //*Done by rahul on 06-02-2020
 public static List <CLayer.BookingItem> GetAllOfflineDetails(long bookingId, bool IsAmedus = false)
 {
     DataLayer.BookingItem bi = new DataLayer.BookingItem();
     return(bi.GetAllOfflineDetails(bookingId, IsAmedus));
 }
示例#21
0
 public static void UpdateHotelGDSError(long bookingId, long AccommodationID, string GDSError)
 {
     DataLayer.BookingItem bi = new DataLayer.BookingItem();
     bi.UpdateGDSError(bookingId, AccommodationID, GDSError);
 }
示例#22
0
        //*--End----

        public static List <CLayer.BookingItem> GetAllDetailsforoffline(long bookingId)
        {
            DataLayer.BookingItem bi = new DataLayer.BookingItem();
            return(bi.GetAllDetailsforoffline(bookingId));
        }
示例#23
0
 public static List <CLayer.BookingItem> GetAllBookingDetailsForApproval(long bookingId, bool IsAmedus = false)
 {
     DataLayer.BookingItem bi = new DataLayer.BookingItem();
     return(bi.GetAllBookingDetailsForApproval(bookingId, IsAmedus));
 }
示例#24
0
 public static List <CLayer.BookingItem> GetAllDetailsForPartialPay(long bookingId, bool IsAmadeus = false)
 {
     DataLayer.BookingItem bi = new DataLayer.BookingItem();
     return(bi.GetAllDetailsForPartialPay(bookingId, IsAmadeus));
 }
示例#25
0
 public static long GetCustomBookByItemId(long bookingItemId)
 {
     DataLayer.BookingItem bi = new DataLayer.BookingItem();
     return(bi.GetCustomBookByItemId(bookingItemId));
 }
示例#26
0
 public static long getofferId(long pPropertyId, long pAccommodationId)
 {
     DataLayer.BookingItem bi = new DataLayer.BookingItem();
     return(bi.getofferId(pPropertyId, pAccommodationId));
 }
示例#27
0
 public static void UpdateCheckInAndOut(long bookingId, DateTime checkIn, DateTime checkOut)
 {
     DataLayer.BookingItem bi = new DataLayer.BookingItem();
     bi.UpdateCheckInAndOut(bookingId, checkIn, checkOut);
 }
示例#28
0
 public static List <CLayer.BookingItem> GetAllUnderCart(long userId)
 {
     DataLayer.BookingItem bi = new DataLayer.BookingItem();
     return(bi.GetAllUnderCart((int)CLayer.ObjectStatus.BookingStatus.Cart, userId));
 }
示例#29
0
 public CLayer.ObjectStatus.StatusType GetStatus(long bookingItemId)
 {
     DataLayer.BookingItem bi = new DataLayer.BookingItem();
     return(bi.GetStatus(bookingItemId));
 }
示例#30
0
 public static decimal GetGrantTotalTaxbyBookingId(long BookingId)
 {
     DataLayer.BookingItem bi = new DataLayer.BookingItem();
     return(bi.GetGrantTotalTaxbyBookingId(BookingId));
 }