Acquire.Accounting._transaction module¶
-
class
Transaction(value=0, description=None)[source]¶ Bases:
objectThis class provides basic information about a transaction - namely just the value (always positive) and what the transaction is for
-
static
from_data(data)[source]¶ Return a newly constructed transaction from the passed dictionary that has been decoded from json
-
static
maximum_transaction_value()[source]¶ Return the maximum value for a single transaction. Currently this is 999999.999999 so that a transaction fits into a f013.6 string
-
static
round(value)[source]¶ Round the passed floating point value to the precision level of the transaction (currently 6 decimal places)
-
static