TollInfo
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zapis JSON |
{
"estimatedPrice": [
{
object (Money )
}
]
} |
Pola |
estimatedPrice[] |
object (Money )
Kwota opłat drogowych za: Route lub RouteLeg . Ta lista zawiera kwotę pieniężną w każdej walucie, która ma być pobierana przez stacje poboru opłat. Zwykle lista zawiera tylko jeden element w przypadku tras z opłatami za przejazd w jednej walucie. W przypadku podróży międzynarodowych ta lista może zawierać wiele pozycji w odniesieniu do opłat drogowych w różnych walutach.
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-08-31 UTC.
[null,null,["Ostatnia aktualizacja: 2025-08-31 UTC."],[[["\u003cp\u003eToll information is encapsulated within the \u003ccode\u003eRoute\u003c/code\u003e or \u003ccode\u003eRouteLeg\u003c/code\u003e objects in JSON format.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eestimatedPrice\u003c/code\u003e field provides the estimated toll costs in various currencies using the \u003ccode\u003eMoney\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eToll prices are presented as a list, potentially containing multiple currencies for international routes.\u003c/p\u003e\n"]]],["Toll information for a Route or RouteLeg is represented in JSON. The `estimatedPrice` field, an array, contains monetary amounts for tolls, specified as `Money` objects. Each array item represents a different currency that might be charged. Typically, there's one item per currency, but international trips may have multiple items reflecting tolls in different currencies. This field provides the expected toll charges for each route segment.\n"],null,["# TollInfo\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nEncapsulates toll information on a [`Route`](/maps/documentation/routes/reference/rest/v2/TopLevel/computeRoutes#Route) or on a [`RouteLeg`](/maps/documentation/routes/reference/rest/v2/TopLevel/computeRoutes#RouteLeg).\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------|\n| ``` { \"estimatedPrice\": [ { object (/maps/documentation/routes/reference/rest/v2/Money) } ] } ``` |\n\n| Fields ||\n|--------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `estimatedPrice[]` | `object (`[Money](/maps/documentation/routes/reference/rest/v2/Money)`)` The monetary amount of tolls for the corresponding [`Route`](/maps/documentation/routes/reference/rest/v2/TopLevel/computeRoutes#Route) or [`RouteLeg`](/maps/documentation/routes/reference/rest/v2/TopLevel/computeRoutes#RouteLeg). This list contains a money amount for each currency that is expected to be charged by the toll stations. Typically this list will contain only one item for routes with tolls in one currency. For international trips, this list may contain multiple items to reflect tolls in different currencies. |"]]