Safe Haskell | None |
---|
Examining a PostFam for a particular component of the main posting (as opposed to the sibling postings) in the PostFam. For some components, such as the payee, the posting might have one piece of data while the TopLine has something else. These functions will examine the Posting first and, if it has no information, use the data from the TopLine if it is there.
- best :: (Posting -> Maybe a) -> (TopLine -> Maybe a) -> PostFam -> Maybe a
- payee :: PostFam -> Maybe Payee
- number :: PostFam -> Maybe Number
- flag :: PostFam -> Maybe Flag
- postingMemo :: PostFam -> Maybe Memo
- transactionMemo :: PostFam -> Maybe Memo
- dateTime :: PostFam -> DateTime
- localDay :: PostFam -> Day
- account :: PostFam -> Account
- tags :: PostFam -> Tags
- entry :: PostFam -> Entry
- balance :: PostFam -> Balance
- drCr :: PostFam -> DrCr
- amount :: PostFam -> Amount
- qty :: PostFam -> Qty
- commodity :: PostFam -> Commodity
- topMemoLine :: PostFam -> Maybe TopMemoLine
- topLineLine :: PostFam -> Maybe TopLineLine
- filename :: PostFam -> Maybe Filename
- globalTransaction :: PostFam -> Maybe GlobalTransaction
- fileTransaction :: PostFam -> Maybe FileTransaction
- postingLine :: PostFam -> Maybe PostingLine
- side :: PostFam -> Maybe Side
- spaceBetween :: PostFam -> Maybe SpaceBetween
- globalPosting :: PostFam -> Maybe GlobalPosting
- filePosting :: PostFam -> Maybe FilePosting