TollInfo
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Инкапсулирует информацию о платных дорогах в Route
или RouteLeg
.
JSON-представление |
---|
{
"estimatedPrice": [
{
object (Money )
}
]
} |
Поля |
---|
estimatedPrice[] | object ( Money ) Денежная сумма дорожных сборов для соответствующего Route или RouteLeg . Этот список содержит денежную сумму для каждой валюты, которая, как ожидается, будет взиматься на станциях взимания платы за проезд. Обычно этот список содержит только один элемент для маршрутов, стоимость проезда в которых указана в одной валюте. Для международных поездок этот список может содержать несколько пунктов, отражающих стоимость проезда в разных валютах. |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-08-29 UTC.
[null,null,["Последнее обновление: 2025-08-29 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. |"]]