PassengerCounts

public struct PassengerCounts : Codable

Structure describing passenger information

  • Number of adults on flight

    Declaration

    Swift

    public var adults: Int?
  • Number of teenagers on flight

    Declaration

    Swift

    public var teenagers: Int?
  • Number of children on flight

    Declaration

    Swift

    public var children: Int?
  • Number of infants on flight

    Declaration

    Swift

    public var infants: Int?
  • Initializes the SearchContext with a block-based builder

    Declaration

    Swift

    public init?(block: ((PassengerCountsBuilder) -> Void))

    Parameters

    block

    Closure block that sets variables on the SearchContextBuilder instance it is passed in