TKQuickBookingHelper

public enum TKQuickBookingHelper
  • Fetches the quick booking options for a particular segment, if there are any. Each booking option represents a one-click-to-buy option uses default options for various booking customisation parameters. To let the user customise these values, do not use quick bookings, but instead the bookingInternalURL of a segment.

    Declaration

    Swift

    public static func fetchQuickBookings(for segment: TKSegment, completion: @escaping ([TKQuickBooking]?, Error?) -> Void)