BookingInput

public struct BookingInput : Codable, Hashable

Undocumented

  • Undocumented

    Declaration

    Swift

    public typealias InputOptionId = String
  • Undocumented

    See more

    Declaration

    Swift

    public struct InputOption : Codable, Hashable
  • Undocumented

    See more

    Declaration

    Swift

    public enum InputType : String, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum ReturnTripDateValue : Hashable
  • Undocumented

    See more

    Declaration

    Swift

    public enum InputValue : Hashable
  • Undocumented

    Declaration

    Swift

    public let required: Bool
  • id

    Undocumented

    Declaration

    Swift

    public let id: String
  • Undocumented

    Declaration

    Swift

    public let options: [InputOption]?
  • Undocumented

    Declaration

    Swift

    public let title: String
  • Undocumented

    Declaration

    Swift

    public var value: InputValue
  • Undocumented

    Declaration

    Swift

    public var type: InputType { get }
  • Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws

Helpers

  • Undocumented

    Declaration

    Swift

    public var longText: String? { get }
  • Undocumented

    Declaration

    Swift

    public var singleSelection: String? { get }
  • Undocumented

    Declaration

    Swift

    public var multipleSelections: [String]? { get }
  • Undocumented

    Declaration

    Swift

    public func displayTitle(for optionId: InputOptionId) -> String?