REST Resource: accounts.priceViews
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zasób: PriceView
Widok cen Obejmuje funkcję Ceny w wersjach interfejsu API starszych niż wersja 3.0.
Pola |
name |
string
Nazwa zasobu w formacie accounts/{account_id}/priceViews/{partnerHotelId} .
|
perItineraryPrices[] |
object (HotelPricePerItinerary )
Cena każdego planu podróży.
|
Ceny hoteli
Cena hotelu w przypadku danego planu podróży.
Zapis JSON |
{
"checkinDate": {
object (Date )
},
"lengthOfStayDays": integer,
"price": number,
"taxes": number,
"fees": number,
"currencyCode": string,
"updateTime": string
} |
Pola |
checkinDate |
object (Date )
Data zameldowania.
|
lengthOfStayDays |
integer
Liczba nocy w planie podróży.
|
price |
number
Cena hotelu w przypadku tego planu podróży.
|
taxes |
number
Podatki za ten plan podróży.
|
fees |
number
Opłaty za ten plan podróży.
|
currencyCode |
string
Waluta price , taxes i fees .
|
updateTime |
string (Timestamp format)
Zaktualizuj sygnaturę czasową tej ceny hotelu. Sygnatura czasowa w formacie RFC3339 UTC &Zulu" z rozdzielczością nanosekundy i do 9 cyfr po przecinku. Przykłady: "2014-10-02T15:01:23Z" i "2014-10-02T15:01:23.045123456Z" .
|
Metody |
|
Zwraca pełny widok ceny. |
Wszelkie prawa zastrzeżone. Java jest zastrzeżonym znakiem towarowym firmy Oracle lub jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2022-08-23 UTC.
[null,null,["Ostatnia aktualizacja: 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. |"]]