View Source Numscriptex.Posting (numscriptex v0.2.6)
Numscriptex.Postings represents a financial transaction made with Numscript
Summary
Types
Type that represents Numscriptex.Posting struct.
Types
@type t() :: %Numscriptex.Posting{ amount: pos_integer(), asset: bitstring(), decimal_amount: float(), destination: bitstring(), source: bitstring() }
Type that represents Numscriptex.Posting struct.
Fields
:sourceaccount whose the money came from:assetthe asset were the transaction was made:destinationaccount whose the money will go to:amountamount of money transferred (integer):decimal_amountamount of money transferred, but as float