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

    @DefaultEmptyArray
    public var integrations: [Integrations] { get set }
  • 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

    @DefaultEmptyArray
    public var operators: [String] { get set }
  • List of image name-parts related to this operator

    Declaration

    Swift

    @DefaultEmptyArray
    public var modeImageNames: [String] { get set }
  • Undocumented

    Declaration

    Swift

    public var identifier: String { get }