//Call to GetHotelDetailsV3 public HotelPropertyProviderRes RetrieveHotelInfos(string hotelCode) { var request = new HotelPropertyProviderReq { HotelCode = hotelCode }; var propertyInfo = new TouricoRetrieveHotelPropertyHandler().Execute(request); return(propertyInfo); }
public HotelPropertyProviderRes RetrieveHotelInfo(string hotelCode) { //HotelPropertyDescription call to return both var request = new TE.Core.ServiceCatalogues.HotelCatalog.Provider.HotelPropertyProviderReq { HotelCode = hotelCode }; var propertyInfo = new TouricoRetrieveHotelPropertyHandler().Execute(request); //propertyInfo.HotelInfo.PropertyInformation = propertyInfo.HotelDetails; //propertyInfo.HotelInfo = propertyInfo.HotelInfo; return(propertyInfo); }
//Call to GetHotelDetailsV3 public HotelInfo RetrieveHotelInfo(string hotelCode) { var request = new HotelPropertyProviderReq { HotelCode = hotelCode }; var propertyInfo = new TouricoRetrieveHotelPropertyHandler().Execute(request); propertyInfo.HotelInfo = propertyInfo.HotelInfo; propertyInfo.HotelInfo.PropertyInformation = propertyInfo.HotelDetails; return(propertyInfo.HotelInfo); }