Safe Haskell | None |
---|---|
Language | Haskell2010 |
Types
Synopsis
- type Token = Text
- data Currency = Currency {
- isoCode :: String
- isoNumericCode :: Int
- decimalDigits :: Int
- symbol :: String
- name :: String
- convertCurrencyFromCode :: Int -> Currency
- data CurrencyPair = CurrencyPair {}
- showCurrencyPair :: CurrencyPair -> IO ()
- data Account = Account {
- acId :: Text
- acBalance :: Int
- acCreditLimit :: Int
- acCurrency :: Currency
- acCashbackType :: Text
- data User = User {}
- data Statement = Statement {
- stId :: String
- stTime :: String
- stDescription :: String
- stMCC :: String
- stHold :: Bool
- stAmount :: Int
- stOperationAmount :: Int
- stCurrency :: Currency
- stComissionRate :: Int
- stCashbackAmount :: Int
- balance :: Int
Documentation
Wrapper for user token from Developer's Dashboard, https://api.monobank.ua/
data CurrencyPair Source #
Data type that represents currency pair from Monobank at spicific time
Constructors
CurrencyPair | |
Fields
|
Instances
Show CurrencyPair Source # | |
Defined in Types Methods showsPrec :: Int -> CurrencyPair -> ShowS # show :: CurrencyPair -> String # showList :: [CurrencyPair] -> ShowS # | |
FromJSON CurrencyPair Source # | |
Defined in Types |
showCurrencyPair :: CurrencyPair -> IO () Source #
Constructors
Account | |
Fields
|
Constructors
User | |
Constructors
Statement | |
Fields
|