現在、
Routes Preferred API は一部のお客様のみご利用いただけます。詳しくは、
営業担当者までお問い合わせください。
TollInfo
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Route または RouteLeg の通行料金情報をカプセル化します。
| JSON 表現 |
{
"estimatedPrice": [
{
object (Money)
}
]
} |
| フィールド |
estimatedPrice[] |
object (Money)
対応する Route または RouteLeg の通行料の金額。このリストには、通行料所で請求される予定の通貨ごとに金額が含まれています。通常、このリストに含まれるのは、1 つの通貨で通行料金情報が含まれるルートの場合、項目は 1 つのみです。海外旅行の場合は、さまざまな通貨の通行料金を反映するために、このリストに複数の項目を含めることができます。
|
Money
| JSON 表現 |
{
"currencyCode": string,
"units": string,
"nanos": integer
} |
| フィールド |
currencyCode |
string
ISO 4217 で定義されている 3 文字の通貨コード。
|
units |
string (int64 format)
金額の整数部分。たとえば、currencyCode が "USD" の場合、1 単位は 1 米ドルです。
|
nanos |
integer
金額の小数部分をナノ(10^-9)単位で表した数。値は -999,999,999 以上 +999,999,999 以下でなければなりません。units が正の場合、nanos には正数または 0 を指定します。units がゼロの場合、nanos には正数、0、または負数を指定できます。units が負の場合、nanos は負数または 0 を指定します。たとえば、$-1.75 は units = -1、nanos = -750,000,000 と表されます。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-29 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-08-29 UTC。"],[],["The provided content describes how toll information and monetary amounts are represented. Toll information, associated with a `Route` or `RouteLeg`, is represented as a list of estimated prices, where each price is a `Money` object. The `Money` object details the `currencyCode`, `units` (whole units of the currency), and `nanos` (fractional units) for an amount. `CurrencyCode` follows ISO 4217, units represent whole amounts and nanos represent up to 9 decimals.\n"]]