TollInfo
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
การแสดง JSON |
{
"estimatedPrice": [
{
object (Money )
}
]
} |
ช่อง |
estimatedPrice[] |
object (Money )
จำนวนเงินค่าผ่านทางสำหรับ Route หรือ RouteLeg ที่เกี่ยวข้อง รายการนี้ประกอบด้วยจำนวนเงินสำหรับแต่ละสกุลเงินที่สถานีเก็บค่าผ่านทางควรเรียกเก็บ โดยปกติ รายการนี้จะมีเฉพาะเส้นทางที่มีค่าผ่านทางในสกุลเงินเดียว สำหรับการเดินทางระหว่างประเทศ รายการนี้อาจมีหลายรายการที่แสดงค่าผ่านทางในสกุลเงินที่ต่างกัน
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-31 UTC
[null,null,["อัปเดตล่าสุด 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. |"]]