Class TollInfo
Encapsulates toll information on a [Route
][google.maps.routing.v2.Route] or
on a [RouteLeg
][google.maps.routing.v2.RouteLeg].
Namespace: Google.Maps.Routing.V2
Assembly: Google.Maps.Routing.V2.dll
Syntax
public sealed class TollInfo : IMessage<TollInfo>, IEquatable<TollInfo>, IDeepCloneable<TollInfo>, IBufferMessage, IMessage
Constructors
TollInfo()
Declaration
public TollInfo()
TollInfo(TollInfo)
Declaration
public TollInfo(TollInfo other)
Parameters
Type | Name | Description |
---|---|---|
TollInfo | other |
Properties
EstimatedPrice
The monetary amount of tolls for the corresponding
[Route
][google.maps.routing.v2.Route] or
[RouteLeg
][google.maps.routing.v2.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.
Declaration
public RepeatedField<Money> EstimatedPrice { get; }
Property Value
Type | Description |
---|---|
RepeatedField<Money> |