REST Resource: accounts.priceViews

Resource: PriceView

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

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

string

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

perItineraryPrices[]

object (HotelPricePerItinerary)

Price for each itinerary.

HotelPricePerItinerary

Hotel price for a given itinerary.

JSON representation
{
  "checkinDate": {
    object (Date)
  },
  "lengthOfStayDays": integer,
  "price": number,
  "taxes": number,
  "fees": number,
  "currencyCode": string,
  "updateTime": string
}
Fields
checkinDate

object (Date)

Check-in date.

lengthOfStayDays

integer

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.

currencyCode

string

Currency for price, taxes, and fees.

updateTime

string (Timestamp format)

Update timestamp for this hotel price.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

Methods

get

Returns the requested price view in full detail.