SpecificModeDetails

public struct SpecificModeDetails : Codable, Hashable

Additional details about a specific mode, where the specific mode usually relates to a certain transport provider, such as a car-sharing provider, bike-sharing provider, limousine company, or TNC.

  • Name of thise mode

    Declaration

    Swift

    public let title: String?
  • Additional info about the mode

    Declaration

    Swift

    public let modeInfo: TKModeInfo
  • Available integrations for this mode that are available through the TripGo API.

    Declaration

    Swift

    public let integrations: [Integrations]?
  • url

    URL of the primary transport provider of this mode.

    Declaration

    Swift

    public let url: URL?
  • Minimum cost for a membership for the provider of this mode. Typically applies to car share and bike share.

    Declaration

    Swift

    public let minimumLocalCostForMembership: Decimal?
  • List of public transport operator names servicing this mode. (Public transport modes only)

    Declaration

    Swift

    public let operators: [String]?
  • List of image name-parts related to this operator

    Declaration

    Swift

    public let modeImageNames: [String]?
  • Declaration

    Swift

    public var identifier: String { get }