Structures

The following structures are available globally.

  • The Booking object containing Rental information that can be used for the booking end point and to display booking information to the customer

    See more

    Declaration

    Swift

    public struct Booking : Equatable
    extension Booking: Decodable
  • Details of the conversion that has been applied to generate a display price

    See more

    Declaration

    Swift

    public struct ConversionDetails : Equatable, Codable
  • Contents to be displayed post booking

    See more

    Declaration

    Swift

    public struct Display : Equatable, Codable
  • Information about an extra that can be or has been added to a car rental

    See more

    Declaration

    Swift

    public struct Extra : Equatable, Codable
  • Information about an insurance product that can be or has been added to a car rental

    See more

    Declaration

    Swift

    public struct Insurance : Equatable, Codable
  • Prices to be displayed in the price breakdown. Will contain conversion details if conversion has been applied to match the display currency provided in the Search Context.

    See more

    Declaration

    Swift

    public struct PriceDetails : Codable, Equatable
  • Price information

    See more

    Declaration

    Swift

    public struct ProductPrice : Equatable, Codable
  • Information about a supplier (of a vehicle)

    See more

    Declaration

    Swift

    public struct Supplier : CustomStringConvertible, Equatable
  • Represents a pickup or dropoff

    See more

    Declaration

    Swift

    public struct TripNode : Equatable, Codable
  • Vehicle information to be displayed to the user

    See more

    Declaration

    Swift

    public struct Vehicle : Equatable, Codable
  • Structure describing colors that are configurable

    See more

    Declaration

    Swift

    public struct Palette
  • Style to apply to the SDK’s UI elements

    See more

    Declaration

    Swift

    public struct Style
  • A theme structure encompassing colors, fonts and anything else that’s configurable on the SDK’s UI elements

    See more

    Declaration

    Swift

    public struct Theme
  • Structure describing fonts that are configurable on the SDK’s UI elements

    See more

    Declaration

    Swift

    public struct Typography
  • Structure describing UI Metrics that are configurable on the SDK’s UI elements

    See more

    Declaration

    Swift

    public struct UIMetrics
  • Preferences about the customer’s country-of-residence (COR), display currency and preferred language

    See more

    Declaration

    Swift

    public struct LocalePreferences : Codable
    extension LocalePreferences: Equatable
  • Structure describing passenger information

    See more

    Declaration

    Swift

    public struct PassengerCounts : Codable
  • Structure describing the context of a search

    See more

    Declaration

    Swift

    public struct SearchContext : Encodable
    extension SearchContext: Equatable
  • One end of a car rental search (e.g. pick-up or drop-off) composed of location and date/time

    See more

    Declaration

    Swift

    public struct SearchNode
    extension SearchNode: Encodable
    extension SearchNode: Equatable
  • An API key the SDK uses to access back-end services

    See more

    Declaration

    Swift

    public struct APIKey
  • Total costs payable now and upon collection

    See more

    Declaration

    Swift

    public struct AcceptedPrice : Equatable, Codable
  • An airport identified by its three-letter IATA code

    See more

    Declaration

    Swift

    public struct Airport : Codable
    extension Airport: Equatable
  • Price to be displayed to the user

    See more

    Declaration

    Swift

    public struct ApiPrice : Equatable, Codable
  • Book object to be passed to the /book endpoint

    See more

    Declaration

    Swift

    public struct Book : Codable
    extension Book: Equatable
  • Product info

    See more

    Declaration

    Swift

    public struct BookProduct : Equatable, Codable
  • A flight designator composed of a string with letters identifying the carrier and numbers identifying the flight - e.g. AB 1234

    See more

    Declaration

    Swift

    public struct FlightDesignator : CustomStringConvertible, Codable
  • Model for displaying the in-path widget

    See more

    Declaration

    Swift

    public struct InPathWidgetModel
  • Indicative price to be displayed on in path widget in the form {prefix} {price.currency} {price.amount} {suffix}. e.g. “ From £30.00 per day”

    See more

    Declaration

    Swift

    public struct IndicativePrice : Codable
  • The name of a natural person composed of their given name and surname

    See more

    Declaration

    Swift

    public struct Name : Equatable, Codable
  • Partner Information to be passed when presenting inPath/standalone flows

    See more

    Declaration

    Swift

    public struct PartnerInformation : Codable, Equatable
  • The price of something of a currency and the amount of that currency

    See more

    Declaration

    Swift

    public struct Price : CustomStringConvertible, Codable
    extension Price: Equatable
  • Visitor information

    See more

    Declaration

    Swift

    public struct Visitor : Equatable, Codable