using System;
using System.Collections.Generic;
using SearchByRouteAndDateViewModels = SepehrTourApiSampleClient.Availability.GetHotelPackageList.WinForms.ViewModels;
// ReSharper disable InconsistentNaming

namespace SepehrTourApiSampleClient.Booking.Book.WinForms.BookCommand.Factory
{
    public class CommandFactory
    {
        public static Command Create(
            string url,
            string username,
            string password,
            SearchByRouteAndDateViewModels.Flight.Flight selectedDepartureFlight,
            int? departureLockId,
            SearchByRouteAndDateViewModels.Flight.Flight selectedReturningFlight,
            int? returningLockId,
            decimal flight_totalPayable,
            DateTime checkinDate,
            DateTime checkoutDate,
            decimal hotel_TotalNetPrice_TaxIncluded,
            string hotelName,
            List<Hotel.Room> roomList,
            int hotelLockId)
        {
            return FactoryBasedOnSearchByRouteAndDateResult.Create(
                url,
                username,
                password,
                selectedDepartureFlight,
                departureLockId,
                selectedReturningFlight,
                returningLockId,
                flight_totalPayable,
                checkinDate,
                checkoutDate,
                hotel_TotalNetPrice_TaxIncluded,
                hotelName,
                roomList,
                hotelLockId);
        }
    }
}
