REST Resource: accounts.priceViews

Resource: PriceView

A price view. Covers the Prices functionality in pre-v3.0 API versions.

JSON representation
{
  "name": string,
  "per_itinerary_prices": [
    {
      object (HotelPricePerItinerary)
    }
  ]
}
Fields
name

string

Resource name in the format accounts/{account_id}/priceViews/{partner_hotel_id}.

per_itinerary_prices[]

object (HotelPricePerItinerary)

Price for each itinerary.

HotelPricePerItinerary

Hotel price for a given itinerary.

JSON representation
{
  "checkin_date": {
    object (Date)
  },
  "length_of_stay_days": number,
  "price": number,
  "taxes": number,
  "fees": number,
  "currency_code": string,
  "update_time": string,
  "room_available": boolean,
  "all_inclusive": boolean
}
Fields
checkin_date

object (Date)

Check-in date.

length_of_stay_days

number

Number of nights for the itinerary.

price

number

Hotel price for this itinerary.

taxes

number

Taxes for this itinerary.

fees

number

Fees for this itinerary.

currency_code

string

Currency for price, taxes, and fees.

update_time

string (Timestamp format)

Update timestamp for this hotel price.

A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

room_available

boolean

True if hotel is visible for the current itinerary.

all_inclusive

boolean

If true, price is inclusive of all taxes and fees.

Methods

get

Returns the requested price view in full detail.