REST Resource: accounts.priceViews
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Kaynak: PriceView
Fiyat görüntüleme. 3.0 öncesi API sürümlerinde Fiyatlar işlevini kapsar.
Alanlar |
name |
string
accounts/{account_id}/priceViews/{partnerHotelId} biçimindeki kaynak adı.
|
perItineraryPrices[] |
object (HotelPricePerItinerary )
Her seyahat planının fiyatı.
|
OtelFiyatı başına
Belirli bir seyahat planının otel fiyatı.
JSON gösterimi |
{
"checkinDate": {
object (Date )
},
"lengthOfStayDays": integer,
"price": number,
"taxes": number,
"fees": number,
"currencyCode": string,
"updateTime": string
} |
Alanlar |
checkinDate |
object (Date )
Giriş tarihi.
|
lengthOfStayDays |
integer
Seyahat planı için gece sayısı.
|
price |
number
Bu seyahat planı için otel fiyatı.
|
taxes |
number
Bu seyahat planının vergileri.
|
fees |
number
Bu seyahat planı için ücretler.
|
currencyCode |
string
price , taxes ve fees için para birimi.
|
updateTime |
string (Timestamp format)
Bu otel fiyatı için zaman damgasını güncelleyin. RFC3339 UTC "Zulu"" biçiminde nanosaniye çözünürlüğe ve dokuz adede kadar kesir basamağına sahip zaman damgası. Örnekler: "2014-10-02T15:01:23Z" ve "2014-10-02T15:01:23.045123456Z" .
|
Yöntemler |
|
İstenen fiyat görünümünü ayrıntılı olarak döndürür. |
Tüm hakları saklıdır. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2022-08-23 UTC.
[null,null,["Son güncelleme tarihi: 2022-08-23 UTC."],[[["\u003cp\u003ePriceView resource shows hotel prices and is compatible with pre-v3.0 APIs.\u003c/p\u003e\n"],["\u003cp\u003eHotelPricePerItinerary object provides price details for a specific itinerary including check-in date, duration, price, taxes, fees, currency, and update timestamp.\u003c/p\u003e\n"],["\u003cp\u003eYou can retrieve a detailed price view using the \u003ccode\u003eget\u003c/code\u003e method.\u003c/p\u003e\n"]]],[],null,["# REST Resource: accounts.priceViews\n\n- [Resource: PriceView](#PriceView)\n - [JSON representation](#PriceView.SCHEMA_REPRESENTATION)\n- [HotelPricePerItinerary](#HotelPricePerItinerary)\n - [JSON representation](#HotelPricePerItinerary.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: PriceView\n-------------------\n\nA price view. Covers the Prices functionality in pre-v3.0 API versions.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"perItineraryPrices\": [ { object (/hotels/hotel-prices/api-reference/rest/v3/accounts.priceViews#HotelPricePerItinerary) } ] } ``` |\n\n| Fields ||\n|------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Resource name in the format `accounts/{account_id}/priceViews/{partnerHotelId}`. |\n| `perItineraryPrices[]` | `object (`[HotelPricePerItinerary](/hotels/hotel-prices/api-reference/rest/v3/accounts.priceViews#HotelPricePerItinerary)`)` Price for each itinerary. |\n\nHotelPricePerItinerary\n----------------------\n\nHotel price for a given itinerary.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"checkinDate\": { object (/hotels/hotel-prices/api-reference/rest/v3/Date) }, \"lengthOfStayDays\": integer, \"price\": number, \"taxes\": number, \"fees\": number, \"currencyCode\": string, \"updateTime\": string } ``` |\n\n| Fields ||\n|--------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `checkinDate` | `object (`[Date](/hotels/hotel-prices/api-reference/rest/v3/Date)`)` Check-in date. |\n| `lengthOfStayDays` | `integer` Number of nights for the itinerary. |\n| `price` | `number` Hotel price for this itinerary. |\n| `taxes` | `number` Taxes for this itinerary. |\n| `fees` | `number` Fees for this itinerary. |\n| `currencyCode` | `string` Currency for `price`, `taxes`, and `fees`. |\n| `updateTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` Update timestamp for this hotel price. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. |\n\n| Methods ------- ||\n|-------------------------------------------------------------------------------|--------------------------------------------------|\n| ### [get](/hotels/hotel-prices/api-reference/rest/v3/accounts.priceViews/get) | Returns the requested price view in full detail. |"]]