uber-0.1.1.0: Uber client for Haskell

Safe HaskellNone
LanguageHaskell2010

Uber.Types.Misc

Documentation

data TrackingMap Source #

Constructors

TrackingMap 

Fields

Instances

data Receipt Source #

Instances

Show Receipt Source # 
Generic Receipt Source # 

Associated Types

type Rep Receipt :: * -> * #

Methods

from :: Receipt -> Rep Receipt x #

to :: Rep Receipt x -> Receipt #

FromJSON Receipt Source # 
type Rep Receipt Source # 
type Rep Receipt = D1 (MetaData "Receipt" "Uber.Types.Misc" "uber-0.1.1.0-Becqne0TbcLCG4NHczlEFb" False) (C1 (MetaCons "Receipt" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "request_id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "charges") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Charge])) (S1 (MetaSel (Just Symbol "surge_charge") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Charge))))) ((:*:) (S1 (MetaSel (Just Symbol "charge_adjustments") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Charge])) ((:*:) (S1 (MetaSel (Just Symbol "normal_fare") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) (S1 (MetaSel (Just Symbol "subtotal") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "total_charged") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "total_owed") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Double))) (S1 (MetaSel (Just Symbol "currency_code") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))) ((:*:) (S1 (MetaSel (Just Symbol "duration") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "distance") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) (S1 (MetaSel (Just Symbol "distance_label") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))))))

data Charge Source #

Constructors

Charge 

Fields

Instances

Show Charge Source # 
Generic Charge Source # 

Associated Types

type Rep Charge :: * -> * #

Methods

from :: Charge -> Rep Charge x #

to :: Rep Charge x -> Charge #

FromJSON Charge Source # 
type Rep Charge Source # 
type Rep Charge = D1 (MetaData "Charge" "Uber.Types.Misc" "uber-0.1.1.0-Becqne0TbcLCG4NHczlEFb" False) (C1 (MetaCons "Charge" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "name") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) (S1 (MetaSel (Just Symbol "amount") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Double))))

data Address Source #

Constructors

Address 

Fields

Instances

Show Address Source # 
Generic Address Source # 

Associated Types

type Rep Address :: * -> * #

Methods

from :: Address -> Rep Address x #

to :: Rep Address x -> Address #

ToJSON Address Source # 
FromJSON Address Source # 
type Rep Address Source # 
type Rep Address = D1 (MetaData "Address" "Uber.Types.Misc" "uber-0.1.1.0-Becqne0TbcLCG4NHczlEFb" False) (C1 (MetaCons "Address" PrefixI True) (S1 (MetaSel (Just Symbol "address") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

newtype PaymentMethods Source #

Constructors

PaymentMethods 

Instances

data PaymentType Source #

Instances

Show PaymentType Source # 
Generic PaymentType Source # 

Associated Types

type Rep PaymentType :: * -> * #

FromJSON PaymentType Source # 
type Rep PaymentType Source # 
type Rep PaymentType = D1 (MetaData "PaymentType" "Uber.Types.Misc" "uber-0.1.1.0-Becqne0TbcLCG4NHczlEFb" False) ((:+:) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "AirtelMoney" PrefixI False) U1) (C1 (MetaCons "Alipay" PrefixI False) U1)) ((:+:) (C1 (MetaCons "ApplePay" PrefixI False) U1) ((:+:) (C1 (MetaCons "AmericanExpress" PrefixI False) U1) (C1 (MetaCons "BaiduWallet" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "BusinessAccount" PrefixI False) U1) (C1 (MetaCons "Cash" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Discover" PrefixI False) U1) ((:+:) (C1 (MetaCons "GoogleWallet" PrefixI False) U1) (C1 (MetaCons "Jcb" PrefixI False) U1))))) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "Lianlian" PrefixI False) U1) (C1 (MetaCons "Maestro" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Mastercard" PrefixI False) U1) ((:+:) (C1 (MetaCons "Paypal" PrefixI False) U1) (C1 (MetaCons "Paytm" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "Ucharge" PrefixI False) U1) (C1 (MetaCons "Unionpay" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Unknown" PrefixI False) U1) ((:+:) (C1 (MetaCons "Visa" PrefixI False) U1) (C1 (MetaCons "Zaakpay" PrefixI False) U1))))))