| Name |
Type |
Description |
Notes |
| price |
float |
Nightly price in the response currency. |
[optional] |
| price_without_discount |
float |
Full nightly price before any discount, when a discount applies. |
[optional] |
| currency |
str |
ISO 4217 currency code for the price, such as USD. |
[optional] |
| discount_text |
str |
Discount label, such as "23% less than usual". |
[optional] |
| prices_by_dates |
List[HotelPriceByDate] |
Daily price calendar, populated when /hotels/info requests load_prices_by_dates. |
[optional] |
| extras |
Dict |
|
[optional] |
from unifapi.models.hotel_search_result_prices import HotelSearchResultPrices
# TODO update the JSON string below
json = "{}"
# create an instance of HotelSearchResultPrices from a JSON string
hotel_search_result_prices_instance = HotelSearchResultPrices.from_json(json)
# print the JSON string representation of the object
print(HotelSearchResultPrices.to_json())
# convert the object into a dict
hotel_search_result_prices_dict = hotel_search_result_prices_instance.to_dict()
# create an instance of HotelSearchResultPrices from a dict
hotel_search_result_prices_from_dict = HotelSearchResultPrices.from_dict(hotel_search_result_prices_dict)
[Back to Model list] [Back to API list] [Back to README]