Example #1
0
 public WideAvailabilityResult(SlimAccommodation accommodation, List <RoomContractSet> roomContractSets, decimal minPrice,
                               decimal maxPrice, DateTime checkInDate, DateTime checkOutDate, Suppliers?supplier, string htId)
 {
     Accommodation    = accommodation;
     MinPrice         = minPrice;
     MaxPrice         = maxPrice;
     CheckInDate      = checkInDate;
     CheckOutDate     = checkOutDate;
     Supplier         = supplier;
     HtId             = htId;
     RoomContractSets = roomContractSets ?? new List <RoomContractSet>();
 }
Example #2
0
 public WideAvailabilityResult(Guid id,
                               SlimAccommodation accommodation,
                               List <RoomContractSet> roomContractSets,
                               decimal minPrice,
                               decimal maxPrice,
                               bool hasDuplicate,
                               Suppliers?supplier)
 {
     Id               = id;
     Accommodation    = accommodation;
     MinPrice         = minPrice;
     MaxPrice         = maxPrice;
     HasDuplicate     = hasDuplicate;
     Supplier         = supplier;
     RoomContractSets = roomContractSets ?? new List <RoomContractSet>();
 }
 public AccommodationAvailabilityResult(Guid id,
                                        long timestamp,
                                        string availabilityId,
                                        SlimAccommodation accommodation,
                                        List <RoomContractSet> roomContractSets,
                                        string duplicateReportId,
                                        decimal minPrice,
                                        decimal maxPrice,
                                        DateTime checkInDate,
                                        DateTime checkOutDate)
 {
     Id                = id;
     Timestamp         = timestamp;
     AvailabilityId    = availabilityId;
     Accommodation     = accommodation;
     RoomContractSets  = roomContractSets;
     DuplicateReportId = duplicateReportId;
     MinPrice          = minPrice;
     MaxPrice          = maxPrice;
     CheckInDate       = checkInDate;
     CheckOutDate      = checkOutDate;
 }