Module
Data.Teller.Transaction
- Package
- purescript-teller
- Repository
- ammanvedi/teller
#TransactionRec Source
newtype TransactionRec
Constructors
TransactionRec { accountId :: String, amount :: Number, merchantName :: String, reference :: String, timestamp :: Number }
Instances
#matchMerchant Source
matchMerchant :: String -> TransactionRec -> Boolean
#getOutgoingTransactions Source
getOutgoingTransactions :: forall a. Directional a => Array a -> Array a
#getHeartbeatChunk Source
getHeartbeatChunk :: Array TransactionRec -> Maybe (Array Int)