REST Resource: accounts.priceViews
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Ressource: PriceView
Vue du prix. Couverture de la fonctionnalité de prix dans les versions de l'API antérieures à la version 3.0.
Champs |
name |
string
Nom de la ressource au format accounts/{account_id}/priceViews/{partnerHotelId} .
|
perItineraryPrices[] |
object (HotelPricePerItinerary )
Prix pour chaque séjour.
|
HotelPricePerItinerary
Prix de l'hôtel pour un séjour donné.
Représentation JSON |
{
"checkinDate": {
object (Date )
},
"lengthOfStayDays": integer,
"price": number,
"taxes": number,
"fees": number,
"currencyCode": string,
"updateTime": string
} |
Champs |
checkinDate |
object (Date )
Date d'arrivée.
|
lengthOfStayDays |
integer
Nombre de nuits du séjour.
|
price |
number
Prix de l'hôtel pour ce séjour.
|
taxes |
number
Taxes pour ce séjour.
|
fees |
number
Frais pour ce séjour.
|
currencyCode |
string
Devise pour price , taxes et fees .
|
updateTime |
string (Timestamp format)
Modifiez l'horodatage du prix de cet hôtel. Horodatage au format RFC3339 UTC "Zulu" avec une résolution de nanoseconde et jusqu'à neuf chiffres après la virgule. Exemples : "2014-10-02T15:01:23Z" et "2014-10-02T15:01:23.045123456Z" .
|
Méthodes |
|
Affiche la vue des prix détaillée. |
Tous droits réservés. Java est une marque déposée d'Oracle et/ou ses affiliés.
Dernière mise à jour le 2022/08/23 (UTC).
[null,null,["Dernière mise à jour le 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. |"]]