TollStructure
public struct TollStructure : Hashable
A struct that defines tolling configuration for a lane. It describes which types of toll structures apply and the acceptable payment methods. This information can be used to guide drivers through toll roads based on their preferences or vehicle capabilities.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
-
Contains available types of toll structures
Declaration
Swift
public var structureTypes: [TollStructureType] -
Contains available payment methods
Declaration
Swift
public var paymentMethods: [PaymentMethod] -
Creates a new instance.
Declaration
Swift
public init(structureTypes: [TollStructureType], paymentMethods: [PaymentMethod])