Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
CurrencyPair | |
|
Instances
Show CurrencyPair Source # | |
Defined in Monobank.Types showsPrec :: Int -> CurrencyPair -> ShowS # show :: CurrencyPair -> String # showList :: [CurrencyPair] -> ShowS # | |
FromJSON CurrencyPair Source # | |
Defined in Monobank.Types parseJSON :: Value -> Parser CurrencyPair # parseJSONList :: Value -> Parser [CurrencyPair] # |
showCurrencyPair :: CurrencyPair -> IO () Source #
Account | |
|
Statement | |
|