REST Resource: accounts.priceViews

资源:PriceView

价格视图。涵盖了 v3.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 规范化(即转换为 UTC 零时区格式并在末尾附加 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

返回所请求价格视图的完整详细信息。