The Hotel booking option object

The Hotel booking option object

Results include a short form of this object on bestOption - price, provider, and a few flags. Details lists every seller and fills in providerUrl.

Attributes

providerstring

Seller name.

priceobject

Stay price before taxes.

amountnumber

Numeric amount in the country’s native currency.

currencystring

ISO 4217 code of that country’s native currency.

formattedstring

Same amount, already formatted for display.

totalPriceobject

Stay price with taxes included.

amountnumber

Numeric amount in the country’s native currency.

currencystring

ISO 4217 code of that country’s native currency.

formattedstring

Same amount, already formatted for display.

rateTypestring

Rate label from the seller.

roomCodestring

Room code at the seller, when one is published.

freebiesarray of strings

Included extras.

taxEstimatedboolean

True when the tax portion is an estimate.

instantBookingboolean

True when the seller can confirm immediately.

directWithPropertyboolean

True when this option is booked with the property itself.

privateDealboolean

True when the rate is a private or member deal.

providerUrlstring

URL that opens this seller’s site with the stay filled in. null when it did not resolve.

providerDomainstring

Host of providerUrl.