-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Parse BgMax-files
--
-- A parser for BgMax -files from BankGirot. It is able to
-- parse all of the example files from BGC.
@package bgmax
@version 0.2.0.3
module BankGiro.BgMax
bgMax :: Parser BgMax
data BgMax
BgMax :: Int -> LocalTime -> TestMark -> Integer -> Integer -> Integer -> Integer -> [Section] -> BgMax
[version] :: BgMax -> Int
[writeDay] :: BgMax -> LocalTime
[testMark] :: BgMax -> TestMark
[noPayments] :: BgMax -> Integer
[noDeductions] :: BgMax -> Integer
[noExtraReferences] :: BgMax -> Integer
[noDeposits] :: BgMax -> Integer
[sections] :: BgMax -> [Section]
data PaymentChannel
ElectronicBank :: PaymentChannel
ElectronicLB :: PaymentChannel
Paper :: PaymentChannel
ElectronicAG :: PaymentChannel
PaymentChannelReserved :: Int -> PaymentChannel
data Image
NoImage :: Image
Image :: Image
ImageReserved :: Int -> Image
data Address
Address :: Maybe ByteString -> Maybe ByteString -> Maybe ByteString -> Maybe ByteString -> Maybe ByteString -> Address
[street] :: Address -> Maybe ByteString
[zipCode] :: Address -> Maybe ByteString
[city] :: Address -> Maybe ByteString
[country] :: Address -> Maybe ByteString
[countryCode] :: Address -> Maybe ByteString
data Sender
Sender :: Integer -> Maybe (ByteString, ByteString) -> Address -> Maybe Integer -> Sender
[senderBankGiro] :: Sender -> Integer
[senderName] :: Sender -> Maybe (ByteString, ByteString)
[address] :: Sender -> Address
[orgNo] :: Sender -> Maybe Integer
data Reference
Blank :: Reference
BlankNoUB :: Reference
CorrectOCR :: Integer -> Centi -> Reference
IncorrectOCR :: ByteString -> Reference
CorrectUB :: ByteString -> Centi -> Reference
IncorrectUB :: ByteString -> Reference
ExtendedRef :: Int -> ByteString -> Reference
data DeductionCode
WholeNoRest :: DeductionCode
PartialRest :: DeductionCode
PartialFinal :: DeductionCode
DeductionCodeReserved :: Int -> DeductionCode
data EntryType
Payment :: EntryType
Deduction :: DeductionCode -> EntryType
data Entry
Entry :: EntryType -> Sender -> [Reference] -> Centi -> PaymentChannel -> Integer -> Image -> [ByteString] -> Entry
[entryType] :: Entry -> EntryType
[sender] :: Entry -> Sender
[reference] :: Entry -> [Reference]
[ammount] :: Entry -> Centi
[paymentChannel] :: Entry -> PaymentChannel
[bgSerialNo] :: Entry -> Integer
[image] :: Entry -> Image
[info] :: Entry -> [ByteString]
data Currency
SEK :: Currency
data DepositType
K :: DepositType
D :: DepositType
S :: DepositType
data Section
Section :: Integer -> Maybe Integer -> Integer -> Day -> Integer -> Centi -> Integer -> Maybe DepositType -> Currency -> [Entry] -> Section
[recipientBankGiro] :: Section -> Integer
[recipientPostGiro] :: Section -> Maybe Integer
[recipientAccount] :: Section -> Integer
[depositDay] :: Section -> Day
[depositNo] :: Section -> Integer
[depositAmmount] :: Section -> Centi
[sNoPayments] :: Section -> Integer
[depositType] :: Section -> Maybe DepositType
[currency] :: Section -> Currency
[entries] :: Section -> [Entry]
data TestMark
T :: TestMark
P :: TestMark
instance GHC.Show.Show BankGiro.BgMax.BgMax
instance GHC.Show.Show BankGiro.BgMax.TestMark
instance GHC.Show.Show BankGiro.BgMax.Section
instance GHC.Read.Read BankGiro.BgMax.DepositType
instance GHC.Show.Show BankGiro.BgMax.DepositType
instance GHC.Show.Show BankGiro.BgMax.Currency
instance GHC.Show.Show BankGiro.BgMax.Entry
instance GHC.Show.Show BankGiro.BgMax.EntryType
instance GHC.Show.Show BankGiro.BgMax.DeductionCode
instance GHC.Show.Show BankGiro.BgMax.Reference
instance GHC.Show.Show BankGiro.BgMax.Sender
instance GHC.Show.Show BankGiro.BgMax.Address
instance GHC.Classes.Eq BankGiro.BgMax.Image
instance GHC.Show.Show BankGiro.BgMax.Image
instance GHC.Classes.Eq BankGiro.BgMax.PaymentChannel
instance GHC.Show.Show BankGiro.BgMax.PaymentChannel