Routes Preferred API는 현재 일부 고객만 이용할 수 있습니다. 자세한 내용은
영업팀에 문의하세요.
TollInfo
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Route 또는 RouteLeg에서 통행료 정보를 캡슐화합니다.
| JSON 표현 |
{
"estimatedPrice": [
{
object (Money)
}
]
} |
| 필드 |
estimatedPrice[] |
object (Money)
해당 Route 또는 RouteLeg의 통행료 금액입니다. 이 목록에는 통행료소에서 청구할 것으로 예상되는 각 통화의 금액이 포함되어 있습니다. 일반적으로 이 목록에는 통화가 하나인 통행료가 있는 경로의 항목이 하나만 포함됩니다. 해외 여행의 경우 다양한 통화로 통행료를 반영하기 위해 이 목록에 여러 항목이 포함될 수 있습니다.
|
Money
| JSON 표현 |
{
"currencyCode": string,
"units": string,
"nanos": integer
} |
| 필드 |
currencyCode |
string
ISO 4217에 정의된 3자리 통화 코드입니다.
|
units |
string (int64 format)
금액의 전체 단위입니다. 예를 들어 currencyCode가 "USD"이면 1단위는 1달러(USD)입니다.
|
nanos |
integer
금액의 나노 (10^-9) 단위 숫자입니다. 값은 -999,999,999 ~ +999,999,999(포함) 사이여야 합니다. units가 양수이면 nanos는 양수 또는 0이어야 합니다. units가 0이면 nanos는 양수, 0 또는 음수일 수 있습니다. units가 음수이면 nanos는 음수 또는 0이어야 합니다. 예를 들어 $-1.75는 units=-1 및 nanos=-750,000,000으로 나타냅니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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"]]