REST Resource: accounts.priceViews
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Risorsa: PriceView
Una visualizzazione dei prezzi. Include la funzionalità Prezzi nelle versioni API precedenti alla 3.0.
Campi |
name |
string
Nome della risorsa nel formato accounts/{account_id}/priceViews/{partnerHotelId} .
|
perItineraryPrices[] |
object (HotelPricePerItinerary )
Prezzo di ogni itinerario.
|
Prezzo HotelPerItinerario
Prezzo dell'hotel per un determinato itinerario.
Rappresentazione JSON |
{
"checkinDate": {
object (Date )
},
"lengthOfStayDays": integer,
"price": number,
"taxes": number,
"fees": number,
"currencyCode": string,
"updateTime": string
} |
Campi |
checkinDate |
object (Date )
Data del check-in.
|
lengthOfStayDays |
integer
Numero di notti per l'itinerario.
|
price |
number
Prezzo dell'hotel per questo itinerario.
|
taxes |
number
Tasse per questo itinerario.
|
fees |
number
Tariffe per questo itinerario.
|
currencyCode |
string
Valuta per price , taxes e fees .
|
updateTime |
string (Timestamp format)
Aggiorna il timestamp per questo prezzo dell'hotel. Un timestamp in formato RFC3339 UTC "Zulu", con una risoluzione in nanosecondi e fino a nove cifre frazionarie. Esempi: "2014-10-02T15:01:23Z" e "2014-10-02T15:01:23.045123456Z" .
|
Metodi |
|
Restituisce la visualizzazione del prezzo richiesto in dettaglio. |
Tutti i diritti riservati. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2022-08-23 UTC.
[null,null,["Ultimo aggiornamento 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. |"]]