REST Resource: accounts.priceViews

資源:PriceView

價格檢視畫面。涵蓋 3.0 版之前的 API 版本中的價格功能。

JSON 表示法
{
  "name": string,
  "perItineraryPrices": [
    {
      object (HotelPricePerItinerary)
    }
  ]
}
欄位
name

string

資源名稱,格式為 accounts/{account_id}/priceViews/{partnerHotelId}

perItineraryPrices[]

object (HotelPricePerItinerary)

每個行程的價格。

HotelPricePerItinerary

特定行程的飯店價格。

JSON 表示法
{
  "checkinDate": {
    object (Date)
  },
  "lengthOfStayDays": integer,
  "price": number,
  "taxes": number,
  "fees": number,
  "currencyCode": string,
  "updateTime": string
}
欄位
checkinDate

object (Date)

入住日期。

lengthOfStayDays

integer

行程晚數。

price

number

這項行程的飯店價格。

taxes

number

這趟行程的稅金。

fees

number

這趟行程的費用。

currencyCode

string

pricetaxesfees 的幣別。

updateTime

string (Timestamp format)

更新這間飯店價格的時間戳記。

使用 RFC 3339,產生的輸出內容一律會經過 Z 正規化,並使用 0、3、6 或 9 個小數位數,也接受「Z」以外的偏移量。範例:"2014-10-02T15:01:23Z""2014-10-02T15:01:23.045123456Z""2014-10-02T15:01:23+05:30"

方法

get

傳回所要求價格檢視畫面的完整詳細資料。