gogol-qpxexpress-0.4.0: Google QPX Express SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.QPXExpress.Types

Contents

Description

 
Synopsis

Service Configuration

qPXExpressService :: ServiceConfig Source #

Default request referring to version v1 of the QPX Express API. This contains the host and root path used as a starting point for constructing service requests.

TripOptionsResponse

data TripOptionsResponse Source #

A QPX Express search response.

See: tripOptionsResponse smart constructor.

Instances
Eq TripOptionsResponse Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Data TripOptionsResponse Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TripOptionsResponse -> c TripOptionsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TripOptionsResponse #

toConstr :: TripOptionsResponse -> Constr #

dataTypeOf :: TripOptionsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TripOptionsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TripOptionsResponse) #

gmapT :: (forall b. Data b => b -> b) -> TripOptionsResponse -> TripOptionsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TripOptionsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TripOptionsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> TripOptionsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TripOptionsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TripOptionsResponse -> m TripOptionsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TripOptionsResponse -> m TripOptionsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TripOptionsResponse -> m TripOptionsResponse #

Show TripOptionsResponse Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Generic TripOptionsResponse Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Associated Types

type Rep TripOptionsResponse :: Type -> Type #

ToJSON TripOptionsResponse Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

FromJSON TripOptionsResponse Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep TripOptionsResponse Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep TripOptionsResponse = D1 (MetaData "TripOptionsResponse" "Network.Google.QPXExpress.Types.Product" "gogol-qpxexpress-0.4.0-EBCNwXlg9ms93cIXsbxHPj" False) (C1 (MetaCons "TripOptionsResponse'" PrefixI True) ((S1 (MetaSel (Just "_torRequestId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_torKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_torData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Data')) :*: S1 (MetaSel (Just "_torTripOption") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TripOption])))))

tripOptionsResponse :: TripOptionsResponse Source #

Creates a value of TripOptionsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

torRequestId :: Lens' TripOptionsResponse (Maybe Text) Source #

An identifier uniquely identifying this response.

torKind :: Lens' TripOptionsResponse Text Source #

Identifies this as a QPX Express trip response object, which consists of zero or more solutions. Value: the fixed string qpxexpress#tripOptions.

torData :: Lens' TripOptionsResponse (Maybe Data') Source #

Informational data global to list of solutions.

torTripOption :: Lens' TripOptionsResponse [TripOption] Source #

A list of priced itinerary solutions to the QPX Express query.

CarrierData

data CarrierData Source #

Information about a carrier (ie. an airline, bus line, railroad, etc) that might be useful to display to an end-user.

See: carrierData smart constructor.

Instances
Eq CarrierData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Data CarrierData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CarrierData -> c CarrierData #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CarrierData #

toConstr :: CarrierData -> Constr #

dataTypeOf :: CarrierData -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CarrierData) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CarrierData) #

gmapT :: (forall b. Data b => b -> b) -> CarrierData -> CarrierData #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CarrierData -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CarrierData -> r #

gmapQ :: (forall d. Data d => d -> u) -> CarrierData -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CarrierData -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CarrierData -> m CarrierData #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CarrierData -> m CarrierData #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CarrierData -> m CarrierData #

Show CarrierData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Generic CarrierData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Associated Types

type Rep CarrierData :: Type -> Type #

ToJSON CarrierData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

FromJSON CarrierData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep CarrierData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep CarrierData = D1 (MetaData "CarrierData" "Network.Google.QPXExpress.Types.Product" "gogol-qpxexpress-0.4.0-EBCNwXlg9ms93cIXsbxHPj" False) (C1 (MetaCons "CarrierData'" PrefixI True) (S1 (MetaSel (Just "_cdKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_cdName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cdCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

carrierData :: CarrierData Source #

Creates a value of CarrierData with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cdKind :: Lens' CarrierData Text Source #

Identifies this as a kind of carrier (ie. an airline, bus line, railroad, etc). Value: the fixed string qpxexpress#carrierData.

cdName :: Lens' CarrierData (Maybe Text) Source #

The long, full name of a carrier. For example: American Airlines.

cdCode :: Lens' CarrierData (Maybe Text) Source #

The IATA designator of a carrier (airline, etc). For example, for American Airlines, the code is AA.

FreeBaggageAllowance

data FreeBaggageAllowance Source #

Information about free baggage allowed on one segment of a trip.

See: freeBaggageAllowance smart constructor.

Instances
Eq FreeBaggageAllowance Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Data FreeBaggageAllowance Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FreeBaggageAllowance -> c FreeBaggageAllowance #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FreeBaggageAllowance #

toConstr :: FreeBaggageAllowance -> Constr #

dataTypeOf :: FreeBaggageAllowance -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FreeBaggageAllowance) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FreeBaggageAllowance) #

gmapT :: (forall b. Data b => b -> b) -> FreeBaggageAllowance -> FreeBaggageAllowance #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FreeBaggageAllowance -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FreeBaggageAllowance -> r #

gmapQ :: (forall d. Data d => d -> u) -> FreeBaggageAllowance -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FreeBaggageAllowance -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FreeBaggageAllowance -> m FreeBaggageAllowance #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FreeBaggageAllowance -> m FreeBaggageAllowance #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FreeBaggageAllowance -> m FreeBaggageAllowance #

Show FreeBaggageAllowance Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Generic FreeBaggageAllowance Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Associated Types

type Rep FreeBaggageAllowance :: Type -> Type #

ToJSON FreeBaggageAllowance Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

FromJSON FreeBaggageAllowance Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep FreeBaggageAllowance Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep FreeBaggageAllowance = D1 (MetaData "FreeBaggageAllowance" "Network.Google.QPXExpress.Types.Product" "gogol-qpxexpress-0.4.0-EBCNwXlg9ms93cIXsbxHPj" False) (C1 (MetaCons "FreeBaggageAllowance'" PrefixI True) ((S1 (MetaSel (Just "_fbaKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_fbaPounds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_fbaBagDescriptor") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [BagDescriptor])))) :*: (S1 (MetaSel (Just "_fbaKilosPerPiece") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_fbaKilos") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_fbaPieces") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))

freeBaggageAllowance :: FreeBaggageAllowance Source #

Creates a value of FreeBaggageAllowance with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

fbaKind :: Lens' FreeBaggageAllowance Text Source #

Identifies this as free baggage object, allowed on one segment of a trip. Value: the fixed string qpxexpress#freeBaggageAllowance.

fbaPounds :: Lens' FreeBaggageAllowance (Maybe Int32) Source #

The number of pounds of free baggage allowed.

fbaBagDescriptor :: Lens' FreeBaggageAllowance [BagDescriptor] Source #

A representation of a type of bag, such as an ATPCo subcode, Commercial Name, or other description.

fbaKilosPerPiece :: Lens' FreeBaggageAllowance (Maybe Int32) Source #

The maximum number of kilos any one piece of baggage may weigh.

fbaKilos :: Lens' FreeBaggageAllowance (Maybe Int32) Source #

The maximum number of kilos all the free baggage together may weigh.

fbaPieces :: Lens' FreeBaggageAllowance (Maybe Int32) Source #

The number of free pieces of baggage allowed.

TimeOfDayRange

data TimeOfDayRange Source #

Two times in a single day defining a time range.

See: timeOfDayRange smart constructor.

Instances
Eq TimeOfDayRange Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Data TimeOfDayRange Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TimeOfDayRange -> c TimeOfDayRange #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TimeOfDayRange #

toConstr :: TimeOfDayRange -> Constr #

dataTypeOf :: TimeOfDayRange -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TimeOfDayRange) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TimeOfDayRange) #

gmapT :: (forall b. Data b => b -> b) -> TimeOfDayRange -> TimeOfDayRange #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TimeOfDayRange -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TimeOfDayRange -> r #

gmapQ :: (forall d. Data d => d -> u) -> TimeOfDayRange -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TimeOfDayRange -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TimeOfDayRange -> m TimeOfDayRange #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TimeOfDayRange -> m TimeOfDayRange #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TimeOfDayRange -> m TimeOfDayRange #

Show TimeOfDayRange Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Generic TimeOfDayRange Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Associated Types

type Rep TimeOfDayRange :: Type -> Type #

ToJSON TimeOfDayRange Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

FromJSON TimeOfDayRange Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep TimeOfDayRange Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep TimeOfDayRange = D1 (MetaData "TimeOfDayRange" "Network.Google.QPXExpress.Types.Product" "gogol-qpxexpress-0.4.0-EBCNwXlg9ms93cIXsbxHPj" False) (C1 (MetaCons "TimeOfDayRange'" PrefixI True) (S1 (MetaSel (Just "_todrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_todrLatestTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_todrEarliestTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

timeOfDayRange :: TimeOfDayRange Source #

Creates a value of TimeOfDayRange with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

todrKind :: Lens' TimeOfDayRange Text Source #

Identifies this as a time of day range object, representing two times in a single day defining a time range. Value: the fixed string qpxexpress#timeOfDayRange.

todrLatestTime :: Lens' TimeOfDayRange (Maybe Text) Source #

The latest time of day in HH:MM format.

todrEarliestTime :: Lens' TimeOfDayRange (Maybe Text) Source #

The earliest time of day in HH:MM format.

Data'

data Data' Source #

Detailed information about components found in the solutions of this response, including a trip's airport, city, taxes, airline, and aircraft.

See: data' smart constructor.

Instances
Eq Data' Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Methods

(==) :: Data' -> Data' -> Bool #

(/=) :: Data' -> Data' -> Bool #

Data Data' Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Data' -> c Data' #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Data' #

toConstr :: Data' -> Constr #

dataTypeOf :: Data' -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Data') #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Data') #

gmapT :: (forall b. Data b => b -> b) -> Data' -> Data' #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Data' -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Data' -> r #

gmapQ :: (forall d. Data d => d -> u) -> Data' -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Data' -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Data' -> m Data' #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Data' -> m Data' #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Data' -> m Data' #

Show Data' Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Methods

showsPrec :: Int -> Data' -> ShowS #

show :: Data' -> String #

showList :: [Data'] -> ShowS #

Generic Data' Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Associated Types

type Rep Data' :: Type -> Type #

Methods

from :: Data' -> Rep Data' x #

to :: Rep Data' x -> Data' #

ToJSON Data' Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

FromJSON Data' Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep Data' Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

data' :: Data' Source #

Creates a value of Data with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dCarrier :: Lens' Data' [CarrierData] Source #

The airline carrier of the aircraft flying between an origin and destination. Allowed values are IATA carrier codes.

dKind :: Lens' Data' Text Source #

Identifies this as QPX Express response resource, including a trip's airport, city, taxes, airline, and aircraft. Value: the fixed string qpxexpress#data.

dAircraft :: Lens' Data' [AircraftData] Source #

The aircraft that is flying between an origin and destination.

dAirport :: Lens' Data' [AirportData] Source #

The airport of an origin or destination.

dCity :: Lens' Data' [CityData] Source #

The city that is either the origin or destination of part of a trip.

dTax :: Lens' Data' [TaxData] Source #

The taxes due for flying between an origin and a destination.

AircraftData

data AircraftData Source #

The make, model, and type of an aircraft.

See: aircraftData smart constructor.

Instances
Eq AircraftData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Data AircraftData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AircraftData -> c AircraftData #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AircraftData #

toConstr :: AircraftData -> Constr #

dataTypeOf :: AircraftData -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AircraftData) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AircraftData) #

gmapT :: (forall b. Data b => b -> b) -> AircraftData -> AircraftData #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AircraftData -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AircraftData -> r #

gmapQ :: (forall d. Data d => d -> u) -> AircraftData -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AircraftData -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AircraftData -> m AircraftData #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AircraftData -> m AircraftData #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AircraftData -> m AircraftData #

Show AircraftData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Generic AircraftData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Associated Types

type Rep AircraftData :: Type -> Type #

ToJSON AircraftData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

FromJSON AircraftData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep AircraftData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep AircraftData = D1 (MetaData "AircraftData" "Network.Google.QPXExpress.Types.Product" "gogol-qpxexpress-0.4.0-EBCNwXlg9ms93cIXsbxHPj" False) (C1 (MetaCons "AircraftData'" PrefixI True) (S1 (MetaSel (Just "_adKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_adName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_adCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

aircraftData :: AircraftData Source #

Creates a value of AircraftData with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

adKind :: Lens' AircraftData Text Source #

Identifies this as an aircraftData object. Value: the fixed string qpxexpress#aircraftData

adName :: Lens' AircraftData (Maybe Text) Source #

The name of an aircraft, for example Boeing 777.

adCode :: Lens' AircraftData (Maybe Text) Source #

The aircraft code. For example, for a Boeing 777 the code would be 777.

LegInfo

data LegInfo Source #

Information about a leg. (A leg is the smallest unit of travel, in the case of a flight a takeoff immediately followed by a landing at two set points on a particular carrier with a particular flight number.)

See: legInfo smart constructor.

Instances
Eq LegInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Methods

(==) :: LegInfo -> LegInfo -> Bool #

(/=) :: LegInfo -> LegInfo -> Bool #

Data LegInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LegInfo -> c LegInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LegInfo #

toConstr :: LegInfo -> Constr #

dataTypeOf :: LegInfo -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c LegInfo) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LegInfo) #

gmapT :: (forall b. Data b => b -> b) -> LegInfo -> LegInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LegInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LegInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> LegInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LegInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LegInfo -> m LegInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LegInfo -> m LegInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LegInfo -> m LegInfo #

Show LegInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Generic LegInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Associated Types

type Rep LegInfo :: Type -> Type #

Methods

from :: LegInfo -> Rep LegInfo x #

to :: Rep LegInfo x -> LegInfo #

ToJSON LegInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

FromJSON LegInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep LegInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep LegInfo = D1 (MetaData "LegInfo" "Network.Google.QPXExpress.Types.Product" "gogol-qpxexpress-0.4.0-EBCNwXlg9ms93cIXsbxHPj" False) (C1 (MetaCons "LegInfo'" PrefixI True) ((((S1 (MetaSel (Just "_liDestination") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_liOrigin") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_liSecure") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_liKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) :*: ((S1 (MetaSel (Just "_liAircraft") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_liArrivalTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_liOnTimePerformance") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_liOperatingDisclosure") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 (MetaSel (Just "_liMeal") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_liId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_liOriginTerminal") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_liChangePlane") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 (MetaSel (Just "_liDestinationTerminal") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_liConnectionDuration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) :*: (S1 (MetaSel (Just "_liDuration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_liMileage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_liDePartureTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))

liDestination :: Lens' LegInfo (Maybe Text) Source #

The leg destination as a city and airport.

liOrigin :: Lens' LegInfo (Maybe Text) Source #

The leg origin as a city and airport.

liSecure :: Lens' LegInfo (Maybe Bool) Source #

Whether passenger information must be furnished to the United States Transportation Security Administration (TSA) prior to departure.

liKind :: Lens' LegInfo Text Source #

Identifies this as a leg object. A leg is the smallest unit of travel, in the case of a flight a takeoff immediately followed by a landing at two set points on a particular carrier with a particular flight number. Value: the fixed string qpxexpress#legInfo.

liAircraft :: Lens' LegInfo (Maybe Text) Source #

The aircraft (or bus, ferry, railcar, etc) travelling between the two points of this leg.

liArrivalTime :: Lens' LegInfo (Maybe Text) Source #

The scheduled time of arrival at the destination of the leg, local to the point of arrival.

liOnTimePerformance :: Lens' LegInfo (Maybe Int32) Source #

In percent, the published on time performance on this leg.

liOperatingDisclosure :: Lens' LegInfo (Maybe Text) Source #

Department of Transportation disclosure information on the actual operator of a flight in a code share. (A code share refers to a marketing agreement between two carriers, where one carrier will list in its schedules (and take bookings for) flights that are actually operated by another carrier.)

liMeal :: Lens' LegInfo (Maybe Text) Source #

A simple, general description of the meal(s) served on the flight, for example: "Hot meal".

liId :: Lens' LegInfo (Maybe Text) Source #

An identifier that uniquely identifies this leg in the solution.

liOriginTerminal :: Lens' LegInfo (Maybe Text) Source #

The terminal the flight is scheduled to depart from.

liChangePlane :: Lens' LegInfo (Maybe Bool) Source #

Whether you have to change planes following this leg. Only applies to the next leg.

liDestinationTerminal :: Lens' LegInfo (Maybe Text) Source #

The terminal the flight is scheduled to arrive at.

liConnectionDuration :: Lens' LegInfo (Maybe Int32) Source #

Duration of a connection following this leg, in minutes.

liDuration :: Lens' LegInfo (Maybe Int32) Source #

The scheduled travelling time from the origin to the destination.

liMileage :: Lens' LegInfo (Maybe Int32) Source #

The number of miles in this leg.

liDePartureTime :: Lens' LegInfo (Maybe Text) Source #

The scheduled departure time of the leg, local to the point of departure.

AirportData

data AirportData Source #

An airport.

See: airportData smart constructor.

Instances
Eq AirportData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Data AirportData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AirportData -> c AirportData #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AirportData #

toConstr :: AirportData -> Constr #

dataTypeOf :: AirportData -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AirportData) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AirportData) #

gmapT :: (forall b. Data b => b -> b) -> AirportData -> AirportData #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AirportData -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AirportData -> r #

gmapQ :: (forall d. Data d => d -> u) -> AirportData -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AirportData -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AirportData -> m AirportData #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AirportData -> m AirportData #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AirportData -> m AirportData #

Show AirportData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Generic AirportData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Associated Types

type Rep AirportData :: Type -> Type #

ToJSON AirportData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

FromJSON AirportData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep AirportData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep AirportData = D1 (MetaData "AirportData" "Network.Google.QPXExpress.Types.Product" "gogol-qpxexpress-0.4.0-EBCNwXlg9ms93cIXsbxHPj" False) (C1 (MetaCons "AirportData'" PrefixI True) ((S1 (MetaSel (Just "_aKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_aName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_aCity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

airportData :: AirportData Source #

Creates a value of AirportData with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aKind :: Lens' AirportData Text Source #

Identifies this as an airport object. Value: the fixed string qpxexpress#airportData.

aName :: Lens' AirportData (Maybe Text) Source #

The name of an airport. For example, for airport BOS the name is "Boston Logan International".

aCity :: Lens' AirportData (Maybe Text) Source #

The city code an airport is located in. For example, for JFK airport, this is NYC.

aCode :: Lens' AirportData (Maybe Text) Source #

An airport's code. For example, for Boston Logan airport, this is BOS.

SegmentPricing

data SegmentPricing Source #

The price of this segment.

See: segmentPricing smart constructor.

Instances
Eq SegmentPricing Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Data SegmentPricing Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SegmentPricing -> c SegmentPricing #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SegmentPricing #

toConstr :: SegmentPricing -> Constr #

dataTypeOf :: SegmentPricing -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SegmentPricing) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SegmentPricing) #

gmapT :: (forall b. Data b => b -> b) -> SegmentPricing -> SegmentPricing #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SegmentPricing -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SegmentPricing -> r #

gmapQ :: (forall d. Data d => d -> u) -> SegmentPricing -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SegmentPricing -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SegmentPricing -> m SegmentPricing #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SegmentPricing -> m SegmentPricing #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SegmentPricing -> m SegmentPricing #

Show SegmentPricing Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Generic SegmentPricing Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Associated Types

type Rep SegmentPricing :: Type -> Type #

ToJSON SegmentPricing Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

FromJSON SegmentPricing Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep SegmentPricing Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep SegmentPricing = D1 (MetaData "SegmentPricing" "Network.Google.QPXExpress.Types.Product" "gogol-qpxexpress-0.4.0-EBCNwXlg9ms93cIXsbxHPj" False) (C1 (MetaCons "SegmentPricing'" PrefixI True) ((S1 (MetaSel (Just "_spFreeBaggageOption") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [FreeBaggageAllowance])) :*: S1 (MetaSel (Just "_spKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_spFareId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_spSegmentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

segmentPricing :: SegmentPricing Source #

Creates a value of SegmentPricing with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

spFreeBaggageOption :: Lens' SegmentPricing [FreeBaggageAllowance] Source #

Details of the free baggage allowance on this segment.

spKind :: Lens' SegmentPricing Text Source #

Identifies this as a segment pricing object, representing the price of this segment. Value: the fixed string qpxexpress#segmentPricing.

spFareId :: Lens' SegmentPricing (Maybe Text) Source #

A segment identifier unique within a single solution. It is used to refer to different parts of the same solution.

spSegmentId :: Lens' SegmentPricing (Maybe Text) Source #

Unique identifier in the response of this segment.

SliceInfo

data SliceInfo Source #

Information about a slice. A slice represents a traveller's intent, the portion of a low-fare search corresponding to a traveler's request to get between two points. One-way journeys are generally expressed using 1 slice, round-trips using 2. For example, if a traveler specifies the following trip in a user interface: | Origin | Destination | Departure Date | | BOS | LAX | March 10, 2007 | | LAX | SYD | March 17, 2007 | | SYD | BOS | March 22, 2007 | then this is a three slice trip.

See: sliceInfo smart constructor.

Instances
Eq SliceInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Data SliceInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SliceInfo -> c SliceInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SliceInfo #

toConstr :: SliceInfo -> Constr #

dataTypeOf :: SliceInfo -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SliceInfo) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SliceInfo) #

gmapT :: (forall b. Data b => b -> b) -> SliceInfo -> SliceInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SliceInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SliceInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> SliceInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SliceInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SliceInfo -> m SliceInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SliceInfo -> m SliceInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SliceInfo -> m SliceInfo #

Show SliceInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Generic SliceInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Associated Types

type Rep SliceInfo :: Type -> Type #

ToJSON SliceInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

FromJSON SliceInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep SliceInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep SliceInfo = D1 (MetaData "SliceInfo" "Network.Google.QPXExpress.Types.Product" "gogol-qpxexpress-0.4.0-EBCNwXlg9ms93cIXsbxHPj" False) (C1 (MetaCons "SliceInfo'" PrefixI True) (S1 (MetaSel (Just "_siKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_siSegment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [SegmentInfo])) :*: S1 (MetaSel (Just "_siDuration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))

sliceInfo :: SliceInfo Source #

Creates a value of SliceInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

siKind :: Lens' SliceInfo Text Source #

Identifies this as a slice object. A slice represents a traveller's intent, the portion of a low-fare search corresponding to a traveler's request to get between two points. One-way journeys are generally expressed using 1 slice, round-trips using 2. Value: the fixed string qpxexpress#sliceInfo.

siSegment :: Lens' SliceInfo [SegmentInfo] Source #

The segment(s) constituting the slice.

siDuration :: Lens' SliceInfo (Maybe Int32) Source #

The duration of the slice in minutes.

TripsSearchResponse

data TripsSearchResponse Source #

A QPX Express search response.

See: tripsSearchResponse smart constructor.

Instances
Eq TripsSearchResponse Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Data TripsSearchResponse Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TripsSearchResponse -> c TripsSearchResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TripsSearchResponse #

toConstr :: TripsSearchResponse -> Constr #

dataTypeOf :: TripsSearchResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TripsSearchResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TripsSearchResponse) #

gmapT :: (forall b. Data b => b -> b) -> TripsSearchResponse -> TripsSearchResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TripsSearchResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TripsSearchResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> TripsSearchResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TripsSearchResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TripsSearchResponse -> m TripsSearchResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TripsSearchResponse -> m TripsSearchResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TripsSearchResponse -> m TripsSearchResponse #

Show TripsSearchResponse Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Generic TripsSearchResponse Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Associated Types

type Rep TripsSearchResponse :: Type -> Type #

ToJSON TripsSearchResponse Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

FromJSON TripsSearchResponse Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep TripsSearchResponse Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep TripsSearchResponse = D1 (MetaData "TripsSearchResponse" "Network.Google.QPXExpress.Types.Product" "gogol-qpxexpress-0.4.0-EBCNwXlg9ms93cIXsbxHPj" False) (C1 (MetaCons "TripsSearchResponse'" PrefixI True) (S1 (MetaSel (Just "_tsrTrips") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TripOptionsResponse)) :*: S1 (MetaSel (Just "_tsrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))

tripsSearchResponse :: TripsSearchResponse Source #

Creates a value of TripsSearchResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

tsrTrips :: Lens' TripsSearchResponse (Maybe TripOptionsResponse) Source #

All possible solutions to the QPX Express search request.

tsrKind :: Lens' TripsSearchResponse Text Source #

Identifies this as a QPX Express API search response resource. Value: the fixed string qpxExpress#tripsSearch.

TripOption

data TripOption Source #

Trip information.

See: tripOption smart constructor.

Instances
Eq TripOption Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Data TripOption Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TripOption -> c TripOption #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TripOption #

toConstr :: TripOption -> Constr #

dataTypeOf :: TripOption -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TripOption) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TripOption) #

gmapT :: (forall b. Data b => b -> b) -> TripOption -> TripOption #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TripOption -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TripOption -> r #

gmapQ :: (forall d. Data d => d -> u) -> TripOption -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TripOption -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TripOption -> m TripOption #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TripOption -> m TripOption #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TripOption -> m TripOption #

Show TripOption Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Generic TripOption Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Associated Types

type Rep TripOption :: Type -> Type #

ToJSON TripOption Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

FromJSON TripOption Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep TripOption Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep TripOption = D1 (MetaData "TripOption" "Network.Google.QPXExpress.Types.Product" "gogol-qpxexpress-0.4.0-EBCNwXlg9ms93cIXsbxHPj" False) (C1 (MetaCons "TripOption'" PrefixI True) ((S1 (MetaSel (Just "_toPricing") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PricingInfo])) :*: S1 (MetaSel (Just "_toKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_toId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_toSlice") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [SliceInfo])) :*: S1 (MetaSel (Just "_toSaleTotal") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

tripOption :: TripOption Source #

Creates a value of TripOption with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

toPricing :: Lens' TripOption [PricingInfo] Source #

Per passenger pricing information.

toKind :: Lens' TripOption Text Source #

Identifies this as a trip information object. Value: the fixed string qpxexpress#tripOption.

toId :: Lens' TripOption (Maybe Text) Source #

Identifier uniquely identifying this trip in a response.

toSlice :: Lens' TripOption [SliceInfo] Source #

The slices that make up this trip's itinerary.

toSaleTotal :: Lens' TripOption (Maybe Text) Source #

The total price for all passengers on the trip, in the form of a currency followed by an amount, e.g. USD253.35.

BagDescriptor

data BagDescriptor Source #

Information about an item of baggage.

See: bagDescriptor smart constructor.

Instances
Eq BagDescriptor Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Data BagDescriptor Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BagDescriptor -> c BagDescriptor #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BagDescriptor #

toConstr :: BagDescriptor -> Constr #

dataTypeOf :: BagDescriptor -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BagDescriptor) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BagDescriptor) #

gmapT :: (forall b. Data b => b -> b) -> BagDescriptor -> BagDescriptor #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BagDescriptor -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BagDescriptor -> r #

gmapQ :: (forall d. Data d => d -> u) -> BagDescriptor -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BagDescriptor -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BagDescriptor -> m BagDescriptor #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BagDescriptor -> m BagDescriptor #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BagDescriptor -> m BagDescriptor #

Show BagDescriptor Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Generic BagDescriptor Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Associated Types

type Rep BagDescriptor :: Type -> Type #

ToJSON BagDescriptor Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

FromJSON BagDescriptor Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep BagDescriptor Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep BagDescriptor = D1 (MetaData "BagDescriptor" "Network.Google.QPXExpress.Types.Product" "gogol-qpxexpress-0.4.0-EBCNwXlg9ms93cIXsbxHPj" False) (C1 (MetaCons "BagDescriptor'" PrefixI True) ((S1 (MetaSel (Just "_bdKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_bdCommercialName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_bdCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_bdDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_bdSubcode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

bagDescriptor :: BagDescriptor Source #

Creates a value of BagDescriptor with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

bdKind :: Lens' BagDescriptor Text Source #

Identifies this as a baggage object. Value: the fixed string qpxexpress#bagDescriptor.

bdCommercialName :: Lens' BagDescriptor (Maybe Text) Source #

Provides the commercial name for an optional service.

bdCount :: Lens' BagDescriptor (Maybe Int32) Source #

How many of this type of bag will be checked on this flight.

bdDescription :: Lens' BagDescriptor [Text] Source #

A description of the baggage.

bdSubcode :: Lens' BagDescriptor (Maybe Text) Source #

The standard IATA subcode used to identify this optional service.

CityData

data CityData Source #

Information about a city that might be useful to an end-user; typically the city of an airport.

See: cityData smart constructor.

Instances
Eq CityData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Data CityData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CityData -> c CityData #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CityData #

toConstr :: CityData -> Constr #

dataTypeOf :: CityData -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CityData) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CityData) #

gmapT :: (forall b. Data b => b -> b) -> CityData -> CityData #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CityData -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CityData -> r #

gmapQ :: (forall d. Data d => d -> u) -> CityData -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CityData -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CityData -> m CityData #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CityData -> m CityData #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CityData -> m CityData #

Show CityData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Generic CityData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Associated Types

type Rep CityData :: Type -> Type #

Methods

from :: CityData -> Rep CityData x #

to :: Rep CityData x -> CityData #

ToJSON CityData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

FromJSON CityData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep CityData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep CityData = D1 (MetaData "CityData" "Network.Google.QPXExpress.Types.Product" "gogol-qpxexpress-0.4.0-EBCNwXlg9ms93cIXsbxHPj" False) (C1 (MetaCons "CityData'" PrefixI True) ((S1 (MetaSel (Just "_cCountry") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_cName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

cityData :: CityData Source #

Creates a value of CityData with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cCountry :: Lens' CityData (Maybe Text) Source #

The two-character country code of the country the city is located in. For example, US for the United States of America.

cKind :: Lens' CityData Text Source #

Identifies this as a city, typically with one or more airports. Value: the fixed string qpxexpress#cityData.

cName :: Lens' CityData (Maybe Text) Source #

The full name of a city. An example would be: New York.

cCode :: Lens' CityData (Maybe Text) Source #

The IATA character ID of a city. For example, for Boston this is BOS.

PassengerCounts

data PassengerCounts Source #

The number and type of passengers. Unfortunately the definition of an infant, child, adult, and senior citizen varies across carriers and reservation systems.

See: passengerCounts smart constructor.

Instances
Eq PassengerCounts Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Data PassengerCounts Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PassengerCounts -> c PassengerCounts #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PassengerCounts #

toConstr :: PassengerCounts -> Constr #

dataTypeOf :: PassengerCounts -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PassengerCounts) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PassengerCounts) #

gmapT :: (forall b. Data b => b -> b) -> PassengerCounts -> PassengerCounts #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PassengerCounts -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PassengerCounts -> r #

gmapQ :: (forall d. Data d => d -> u) -> PassengerCounts -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PassengerCounts -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PassengerCounts -> m PassengerCounts #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PassengerCounts -> m PassengerCounts #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PassengerCounts -> m PassengerCounts #

Show PassengerCounts Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Generic PassengerCounts Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Associated Types

type Rep PassengerCounts :: Type -> Type #

ToJSON PassengerCounts Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

FromJSON PassengerCounts Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep PassengerCounts Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep PassengerCounts = D1 (MetaData "PassengerCounts" "Network.Google.QPXExpress.Types.Product" "gogol-qpxexpress-0.4.0-EBCNwXlg9ms93cIXsbxHPj" False) (C1 (MetaCons "PassengerCounts'" PrefixI True) ((S1 (MetaSel (Just "_pcSeniorCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_pcKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pcInfantInLapCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))) :*: (S1 (MetaSel (Just "_pcChildCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_pcInfantInSeatCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pcAdultCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))

passengerCounts :: PassengerCounts Source #

Creates a value of PassengerCounts with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pcSeniorCount :: Lens' PassengerCounts (Maybe Int32) Source #

The number of passengers that are senior citizens.

pcKind :: Lens' PassengerCounts Text Source #

Identifies this as a passenger count object, representing the number of passengers. Value: the fixed string qpxexpress#passengerCounts.

pcInfantInLapCount :: Lens' PassengerCounts (Maybe Int32) Source #

The number of passengers that are infants travelling in the lap of an adult.

pcChildCount :: Lens' PassengerCounts (Maybe Int32) Source #

The number of passengers that are children.

pcInfantInSeatCount :: Lens' PassengerCounts (Maybe Int32) Source #

The number of passengers that are infants each assigned a seat.

pcAdultCount :: Lens' PassengerCounts (Maybe Int32) Source #

The number of passengers that are adults.

SegmentInfo

data SegmentInfo Source #

Details of a segment of a flight; a segment is one or more consecutive legs on the same flight. For example a hypothetical flight ZZ001, from DFW to OGG, would have one segment with two legs: DFW to HNL (leg 1), HNL to OGG (leg 2), and DFW to OGG (legs 1 and 2).

See: segmentInfo smart constructor.

Instances
Eq SegmentInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Data SegmentInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SegmentInfo -> c SegmentInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SegmentInfo #

toConstr :: SegmentInfo -> Constr #

dataTypeOf :: SegmentInfo -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SegmentInfo) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SegmentInfo) #

gmapT :: (forall b. Data b => b -> b) -> SegmentInfo -> SegmentInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SegmentInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SegmentInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> SegmentInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SegmentInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SegmentInfo -> m SegmentInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SegmentInfo -> m SegmentInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SegmentInfo -> m SegmentInfo #

Show SegmentInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Generic SegmentInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Associated Types

type Rep SegmentInfo :: Type -> Type #

ToJSON SegmentInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

FromJSON SegmentInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep SegmentInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

segmentInfo :: SegmentInfo Source #

Creates a value of SegmentInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sBookingCode :: Lens' SegmentInfo (Maybe Text) Source #

The booking code or class for this segment.

sCabin :: Lens' SegmentInfo (Maybe Text) Source #

The cabin booked for this segment.

sBookingCodeCount :: Lens' SegmentInfo (Maybe Int32) Source #

The number of seats available in this booking code on this segment.

sSubjectToGovernmentApproval :: Lens' SegmentInfo (Maybe Bool) Source #

Whether the operation of this segment remains subject to government approval.

sKind :: Lens' SegmentInfo Text Source #

Identifies this as a segment object. A segment is one or more consecutive legs on the same flight. For example a hypothetical flight ZZ001, from DFW to OGG, could have one segment with two legs: DFW to HNL (leg 1), HNL to OGG (leg 2). Value: the fixed string qpxexpress#segmentInfo.

sFlight :: Lens' SegmentInfo (Maybe FlightInfo) Source #

The flight this is a segment of.

sId :: Lens' SegmentInfo (Maybe Text) Source #

An id uniquely identifying the segment in the solution.

sMarriedSegmentGroup :: Lens' SegmentInfo (Maybe Text) Source #

The solution-based index of a segment in a married segment group. Married segments can only be booked together. For example, an airline might report a certain booking code as sold out from Boston to Pittsburgh, but as available as part of two married segments Boston to Chicago connecting through Pittsburgh. For example content of this field, consider the round-trip flight ZZ1 PHX-PHL ZZ2 PHL-CLT ZZ3 CLT-PHX. This has three segments, with the two outbound ones (ZZ1 ZZ2) married. In this case, the two outbound segments belong to married segment group 0, and the return segment belongs to married segment group 1.

sConnectionDuration :: Lens' SegmentInfo (Maybe Int32) Source #

In minutes, the duration of the connection following this segment.

sDuration :: Lens' SegmentInfo (Maybe Int32) Source #

The duration of the flight segment in minutes.

sLeg :: Lens' SegmentInfo [LegInfo] Source #

The legs composing this segment.

TaxData

data TaxData Source #

Tax data.

See: taxData smart constructor.

Instances
Eq TaxData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Methods

(==) :: TaxData -> TaxData -> Bool #

(/=) :: TaxData -> TaxData -> Bool #

Data TaxData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TaxData -> c TaxData #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TaxData #

toConstr :: TaxData -> Constr #

dataTypeOf :: TaxData -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TaxData) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TaxData) #

gmapT :: (forall b. Data b => b -> b) -> TaxData -> TaxData #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TaxData -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TaxData -> r #

gmapQ :: (forall d. Data d => d -> u) -> TaxData -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TaxData -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TaxData -> m TaxData #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TaxData -> m TaxData #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TaxData -> m TaxData #

Show TaxData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Generic TaxData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Associated Types

type Rep TaxData :: Type -> Type #

Methods

from :: TaxData -> Rep TaxData x #

to :: Rep TaxData x -> TaxData #

ToJSON TaxData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

FromJSON TaxData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep TaxData Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep TaxData = D1 (MetaData "TaxData" "Network.Google.QPXExpress.Types.Product" "gogol-qpxexpress-0.4.0-EBCNwXlg9ms93cIXsbxHPj" False) (C1 (MetaCons "TaxData'" PrefixI True) (S1 (MetaSel (Just "_tdKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_tdName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tdId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

taxData :: TaxData Source #

Creates a value of TaxData with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

tdKind :: Lens' TaxData Text Source #

Identifies this as a tax data object, representing some tax. Value: the fixed string qpxexpress#taxData.

tdName :: Lens' TaxData (Maybe Text) Source #

The name of a tax.

tdId :: Lens' TaxData (Maybe Text) Source #

An identifier uniquely identifying a tax in a response.

TripsSearchRequest

data TripsSearchRequest Source #

A QPX Express search request.

See: tripsSearchRequest smart constructor.

Instances
Eq TripsSearchRequest Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Data TripsSearchRequest Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TripsSearchRequest -> c TripsSearchRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TripsSearchRequest #

toConstr :: TripsSearchRequest -> Constr #

dataTypeOf :: TripsSearchRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TripsSearchRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TripsSearchRequest) #

gmapT :: (forall b. Data b => b -> b) -> TripsSearchRequest -> TripsSearchRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TripsSearchRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TripsSearchRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> TripsSearchRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TripsSearchRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TripsSearchRequest -> m TripsSearchRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TripsSearchRequest -> m TripsSearchRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TripsSearchRequest -> m TripsSearchRequest #

Show TripsSearchRequest Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Generic TripsSearchRequest Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Associated Types

type Rep TripsSearchRequest :: Type -> Type #

ToJSON TripsSearchRequest Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

FromJSON TripsSearchRequest Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep TripsSearchRequest Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep TripsSearchRequest = D1 (MetaData "TripsSearchRequest" "Network.Google.QPXExpress.Types.Product" "gogol-qpxexpress-0.4.0-EBCNwXlg9ms93cIXsbxHPj" True) (C1 (MetaCons "TripsSearchRequest'" PrefixI True) (S1 (MetaSel (Just "_tsrRequest") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe TripOptionsRequest))))

tripsSearchRequest :: TripsSearchRequest Source #

Creates a value of TripsSearchRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

tsrRequest :: Lens' TripsSearchRequest (Maybe TripOptionsRequest) Source #

A QPX Express search request. Required values are at least one adult or senior passenger, an origin, a destination, and a date.

TaxInfo

data TaxInfo Source #

Tax information.

See: taxInfo smart constructor.

Instances
Eq TaxInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Methods

(==) :: TaxInfo -> TaxInfo -> Bool #

(/=) :: TaxInfo -> TaxInfo -> Bool #

Data TaxInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TaxInfo -> c TaxInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TaxInfo #

toConstr :: TaxInfo -> Constr #

dataTypeOf :: TaxInfo -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TaxInfo) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TaxInfo) #

gmapT :: (forall b. Data b => b -> b) -> TaxInfo -> TaxInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TaxInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TaxInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> TaxInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TaxInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TaxInfo -> m TaxInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TaxInfo -> m TaxInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TaxInfo -> m TaxInfo #

Show TaxInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Generic TaxInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Associated Types

type Rep TaxInfo :: Type -> Type #

Methods

from :: TaxInfo -> Rep TaxInfo x #

to :: Rep TaxInfo x -> TaxInfo #

ToJSON TaxInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

FromJSON TaxInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep TaxInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

taxInfo :: TaxInfo Source #

Creates a value of TaxInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

tiChargeType :: Lens' TaxInfo (Maybe Text) Source #

Whether this is a government charge or a carrier surcharge.

tiCountry :: Lens' TaxInfo (Maybe Text) Source #

For government charges, the country levying the charge.

tiKind :: Lens' TaxInfo Text Source #

Identifies this as a tax information object. Value: the fixed string qpxexpress#taxInfo.

tiSalePrice :: Lens' TaxInfo (Maybe Text) Source #

The price of the tax in the sales or equivalent currency.

tiCode :: Lens' TaxInfo (Maybe Text) Source #

The code to enter in the ticket's tax box.

tiId :: Lens' TaxInfo (Maybe Text) Source #

Identifier uniquely identifying this tax in a response. Not present for unnamed carrier surcharges.

PricingInfo

data PricingInfo Source #

The price of one or more travel segments. The currency used to purchase tickets is usually determined by the sale/ticketing city or the sale/ticketing country, unless none are specified, in which case it defaults to that of the journey origin country.

See: pricingInfo smart constructor.

Instances
Eq PricingInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Data PricingInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PricingInfo -> c PricingInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PricingInfo #

toConstr :: PricingInfo -> Constr #

dataTypeOf :: PricingInfo -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PricingInfo) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PricingInfo) #

gmapT :: (forall b. Data b => b -> b) -> PricingInfo -> PricingInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PricingInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PricingInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> PricingInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PricingInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PricingInfo -> m PricingInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PricingInfo -> m PricingInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PricingInfo -> m PricingInfo #

Show PricingInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Generic PricingInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Associated Types

type Rep PricingInfo :: Type -> Type #

ToJSON PricingInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

FromJSON PricingInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep PricingInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep PricingInfo = D1 (MetaData "PricingInfo" "Network.Google.QPXExpress.Types.Product" "gogol-qpxexpress-0.4.0-EBCNwXlg9ms93cIXsbxHPj" False) (C1 (MetaCons "PricingInfo'" PrefixI True) (((S1 (MetaSel (Just "_piSaleTaxTotal") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_piRefundable") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_piPtc") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_piBaseFareTotal") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_piFare") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [FareInfo])) :*: S1 (MetaSel (Just "_piKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) :*: ((S1 (MetaSel (Just "_piSegmentPricing") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [SegmentPricing])) :*: (S1 (MetaSel (Just "_piPassengers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PassengerCounts)) :*: S1 (MetaSel (Just "_piFareCalculation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_piLatestTicketingTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_piTax") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TaxInfo]))) :*: (S1 (MetaSel (Just "_piSaleTotal") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_piSaleFareTotal") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

pricingInfo :: PricingInfo Source #

Creates a value of PricingInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

piSaleTaxTotal :: Lens' PricingInfo (Maybe Text) Source #

The taxes in the sale or equivalent currency.

piRefundable :: Lens' PricingInfo (Maybe Bool) Source #

Whether the fares on this pricing are refundable.

piPtc :: Lens' PricingInfo (Maybe Text) Source #

The passenger type code for this pricing. An alphanumeric code used by a carrier to restrict fares to certain categories of passenger. For instance, a fare might be valid only for senior citizens.

piBaseFareTotal :: Lens' PricingInfo (Maybe Text) Source #

The total fare in the base fare currency (the currency of the country of origin). This element is only present when the sales currency and the currency of the country of commencement are different.

piFare :: Lens' PricingInfo [FareInfo] Source #

The fare used to price one or more segments.

piKind :: Lens' PricingInfo Text Source #

Identifies this as a pricing object, representing the price of one or more travel segments. Value: the fixed string qpxexpress#pricingInfo.

piSegmentPricing :: Lens' PricingInfo [SegmentPricing] Source #

The per-segment price and baggage information.

piPassengers :: Lens' PricingInfo (Maybe PassengerCounts) Source #

The number of passengers to which this price applies.

piFareCalculation :: Lens' PricingInfo (Maybe Text) Source #

The horizontal fare calculation. This is a field on a ticket that displays all of the relevant items that go into the calculation of the fare.

piLatestTicketingTime :: Lens' PricingInfo (Maybe Text) Source #

The latest ticketing time for this pricing assuming the reservation occurs at ticketing time and there is no change in fares/rules. The time is local to the point of sale (POS).

piTax :: Lens' PricingInfo [TaxInfo] Source #

The taxes used to calculate the tax total per ticket.

piSaleTotal :: Lens' PricingInfo (Maybe Text) Source #

Total per-passenger price (fare and tax) in the sale or equivalent currency.

piSaleFareTotal :: Lens' PricingInfo (Maybe Text) Source #

The total fare in the sale or equivalent currency.

FlightInfo

data FlightInfo Source #

A flight is a sequence of legs with the same airline carrier and flight number. (A leg is the smallest unit of travel, in the case of a flight a takeoff immediately followed by a landing at two set points on a particular carrier with a particular flight number.) The naive view is that a flight is scheduled travel of an aircraft between two points, with possibly intermediate stops, but carriers will frequently list flights that require a change of aircraft between legs.

See: flightInfo smart constructor.

Instances
Eq FlightInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Data FlightInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FlightInfo -> c FlightInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FlightInfo #

toConstr :: FlightInfo -> Constr #

dataTypeOf :: FlightInfo -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FlightInfo) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FlightInfo) #

gmapT :: (forall b. Data b => b -> b) -> FlightInfo -> FlightInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FlightInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FlightInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> FlightInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FlightInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FlightInfo -> m FlightInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FlightInfo -> m FlightInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FlightInfo -> m FlightInfo #

Show FlightInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Generic FlightInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Associated Types

type Rep FlightInfo :: Type -> Type #

ToJSON FlightInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

FromJSON FlightInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep FlightInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep FlightInfo = D1 (MetaData "FlightInfo" "Network.Google.QPXExpress.Types.Product" "gogol-qpxexpress-0.4.0-EBCNwXlg9ms93cIXsbxHPj" False) (C1 (MetaCons "FlightInfo'" PrefixI True) (S1 (MetaSel (Just "_fiCarrier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_fiNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

flightInfo :: FlightInfo Source #

Creates a value of FlightInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

fiNumber :: Lens' FlightInfo (Maybe Text) Source #

The flight number.

FareInfo

data FareInfo Source #

Complete information about a fare used in the solution to a low-fare search query. In the airline industry a fare is a price an airline charges for one-way travel between two points. A fare typically contains a carrier code, two city codes, a price, and a fare basis. (A fare basis is a one-to-eight character alphanumeric code used to identify a fare.)

See: fareInfo smart constructor.

Instances
Eq FareInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Data FareInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FareInfo -> c FareInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FareInfo #

toConstr :: FareInfo -> Constr #

dataTypeOf :: FareInfo -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FareInfo) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FareInfo) #

gmapT :: (forall b. Data b => b -> b) -> FareInfo -> FareInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FareInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FareInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> FareInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FareInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FareInfo -> m FareInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FareInfo -> m FareInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FareInfo -> m FareInfo #

Show FareInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Generic FareInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Associated Types

type Rep FareInfo :: Type -> Type #

Methods

from :: FareInfo -> Rep FareInfo x #

to :: Rep FareInfo x -> FareInfo #

ToJSON FareInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

FromJSON FareInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep FareInfo Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

fareInfo :: FareInfo Source #

Creates a value of FareInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

fCarrier :: Lens' FareInfo (Maybe Text) Source #

The carrier of the aircraft or other vehicle commuting between two points.

fDestination :: Lens' FareInfo (Maybe Text) Source #

The city code of the city the trip ends at.

fOrigin :: Lens' FareInfo (Maybe Text) Source #

The city code of the city the trip begins at.

fPrivate :: Lens' FareInfo (Maybe Bool) Source #

Whether this is a private fare, for example one offered only to select customers rather than the general public.

fKind :: Lens' FareInfo Text Source #

Identifies this as a fare object. Value: the fixed string qpxexpress#fareInfo.

fId :: Lens' FareInfo (Maybe Text) Source #

A unique identifier of the fare.

TripOptionsRequest

data TripOptionsRequest Source #

A QPX Express search request, which will yield one or more solutions.

See: tripOptionsRequest smart constructor.

Instances
Eq TripOptionsRequest Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Data TripOptionsRequest Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TripOptionsRequest -> c TripOptionsRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TripOptionsRequest #

toConstr :: TripOptionsRequest -> Constr #

dataTypeOf :: TripOptionsRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TripOptionsRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TripOptionsRequest) #

gmapT :: (forall b. Data b => b -> b) -> TripOptionsRequest -> TripOptionsRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TripOptionsRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TripOptionsRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> TripOptionsRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TripOptionsRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TripOptionsRequest -> m TripOptionsRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TripOptionsRequest -> m TripOptionsRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TripOptionsRequest -> m TripOptionsRequest #

Show TripOptionsRequest Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Generic TripOptionsRequest Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Associated Types

type Rep TripOptionsRequest :: Type -> Type #

ToJSON TripOptionsRequest Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

FromJSON TripOptionsRequest Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep TripOptionsRequest Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep TripOptionsRequest = D1 (MetaData "TripOptionsRequest" "Network.Google.QPXExpress.Types.Product" "gogol-qpxexpress-0.4.0-EBCNwXlg9ms93cIXsbxHPj" False) (C1 (MetaCons "TripOptionsRequest'" PrefixI True) ((S1 (MetaSel (Just "_torRefundable") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_torSaleCountry") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_torPassengers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PassengerCounts)))) :*: ((S1 (MetaSel (Just "_torTicketingCountry") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_torSolutions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) :*: (S1 (MetaSel (Just "_torSlice") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [SliceInput])) :*: S1 (MetaSel (Just "_torMaxPrice") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

tripOptionsRequest :: TripOptionsRequest Source #

Creates a value of TripOptionsRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

torRefundable :: Lens' TripOptionsRequest (Maybe Bool) Source #

Return only solutions with refundable fares.

torSaleCountry :: Lens' TripOptionsRequest (Maybe Text) Source #

IATA country code representing the point of sale. This determines the "equivalent amount paid" currency for the ticket.

torPassengers :: Lens' TripOptionsRequest (Maybe PassengerCounts) Source #

Counts for each passenger type in the request.

torTicketingCountry :: Lens' TripOptionsRequest (Maybe Text) Source #

IATA country code representing the point of ticketing.

torSolutions :: Lens' TripOptionsRequest (Maybe Int32) Source #

The number of solutions to return, maximum 500.

torSlice :: Lens' TripOptionsRequest [SliceInput] Source #

The slices that make up the itinerary of this trip. A slice represents a traveler's intent, the portion of a low-fare search corresponding to a traveler's request to get between two points. One-way journeys are generally expressed using one slice, round-trips using two. An example of a one slice trip with three segments might be BOS-SYD, SYD-LAX, LAX-BOS if the traveler only stopped in SYD and LAX just long enough to change planes.

torMaxPrice :: Lens' TripOptionsRequest (Maybe Text) Source #

Do not return solutions that cost more than this price. The alphabetical part of the price is in ISO 4217. The format, in regex, is [A-Z]{3}\d+(\.\d+)? Example: $102.07

SliceInput

data SliceInput Source #

Criteria a desired slice must satisfy.

See: sliceInput smart constructor.

Instances
Eq SliceInput Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Data SliceInput Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SliceInput -> c SliceInput #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SliceInput #

toConstr :: SliceInput -> Constr #

dataTypeOf :: SliceInput -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SliceInput) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SliceInput) #

gmapT :: (forall b. Data b => b -> b) -> SliceInput -> SliceInput #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SliceInput -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SliceInput -> r #

gmapQ :: (forall d. Data d => d -> u) -> SliceInput -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SliceInput -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SliceInput -> m SliceInput #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SliceInput -> m SliceInput #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SliceInput -> m SliceInput #

Show SliceInput Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Generic SliceInput Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

Associated Types

type Rep SliceInput :: Type -> Type #

ToJSON SliceInput Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

FromJSON SliceInput Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

type Rep SliceInput Source # 
Instance details

Defined in Network.Google.QPXExpress.Types.Product

sliceInput :: SliceInput Source #

Creates a value of SliceInput with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sliDestination :: Lens' SliceInput (Maybe Text) Source #

Airport or city IATA designator of the destination.

sliOrigin :: Lens' SliceInput (Maybe Text) Source #

Airport or city IATA designator of the origin.

sliMaxStops :: Lens' SliceInput (Maybe Int32) Source #

The maximum number of stops you are willing to accept in this slice.

sliKind :: Lens' SliceInput Text Source #

Identifies this as a slice input object, representing the criteria a desired slice must satisfy. Value: the fixed string qpxexpress#sliceInput.

sliProhibitedCarrier :: Lens' SliceInput [Text] Source #

A list of 2-letter IATA airline designators. Exclude slices that use these carriers.

sliDate :: Lens' SliceInput (Maybe Text) Source #

Departure date in YYYY-MM-DD format.

sliMaxConnectionDuration :: Lens' SliceInput (Maybe Int32) Source #

The longest connection between two legs, in minutes, you are willing to accept.

sliPreferredCabin :: Lens' SliceInput (Maybe Text) Source #

Prefer solutions that book in this cabin for this slice. Allowed values are COACH, PREMIUM_COACH, BUSINESS, and FIRST.

sliPermittedDePartureTime :: Lens' SliceInput (Maybe TimeOfDayRange) Source #

Slices must depart in this time of day range, local to the point of departure.

sliPermittedCarrier :: Lens' SliceInput [Text] Source #

A list of 2-letter IATA airline designators. Slices with only these carriers should be returned.

sliAlliance :: Lens' SliceInput (Maybe Text) Source #

Slices with only the carriers in this alliance should be returned; do not use this field with permittedCarrier. Allowed values are ONEWORLD, SKYTEAM, and STAR.