예제 #1
0
 public BookingAvailabilityInfo(string accommodationId, string accommodationName, AccommodationInfo accommodationInfo,
                                RoomContractSet roomContractSet, string zoneName, string localityName, string countryName,
                                string countryCode, string address, GeoPoint coordinates, DateTime checkInDate,
                                DateTime checkOutDate, int numberOfNights, int supplier, List <AppliedMarkup> appliedMarkups,
                                MoneyAmount convertedSupplierPrice, MoneyAmount originalSupplierPrice, string availabilityId,
                                string htId, List <PaymentTypes> availablePaymentTypes, bool isDirectContract, Deadline agentDeadline, Deadline supplierDeadline,
                                CreditCardRequirement?cardRequirement, AvailabilityRequest availabilityRequest)
 {
     AccommodationId        = accommodationId;
     AccommodationName      = accommodationName;
     AccommodationInfo      = accommodationInfo;
     RoomContractSet        = roomContractSet;
     ZoneName               = zoneName;
     LocalityName           = localityName;
     CountryName            = countryName;
     CountryCode            = countryCode;
     Address                = address;
     Coordinates            = coordinates;
     CheckInDate            = checkInDate;
     CheckOutDate           = checkOutDate;
     NumberOfNights         = numberOfNights;
     Supplier               = supplier;
     AppliedMarkups         = appliedMarkups;
     ConvertedSupplierPrice = convertedSupplierPrice;
     OriginalSupplierPrice  = originalSupplierPrice;
     AvailabilityId         = availabilityId;
     HtId = htId;
     AvailablePaymentTypes = availablePaymentTypes;
     IsDirectContract      = isDirectContract;
     AgentDeadline         = agentDeadline;
     SupplierDeadline      = supplierDeadline;
     CardRequirement       = cardRequirement;
     AvailabilityRequest   = availabilityRequest;
 }
예제 #2
0
 public BookingAvailabilityInfo(
     string accommodationId,
     string accommodationName,
     RoomContractSet roomContractSet,
     string zoneName,
     string localityName,
     string countryName,
     string countryCode,
     string address,
     GeoPoint coordinates,
     DateTime checkInDate,
     DateTime checkOutDate,
     int numberOfNights,
     Suppliers supplier)
 {
     AccommodationId   = accommodationId;
     AccommodationName = accommodationName;
     RoomContractSet   = roomContractSet;
     ZoneName          = zoneName;
     LocalityName      = localityName;
     CountryName       = countryName;
     CountryCode       = countryCode;
     Address           = address;
     Coordinates       = coordinates;
     CheckInDate       = checkInDate;
     CheckOutDate      = checkOutDate;
     NumberOfNights    = numberOfNights;
     Supplier          = supplier;
 }