discoin.Transaction¶
-
class
discoin.Transaction(transaction_obj)¶ Transaction object
- Parameters
id – (
str) The ID or receipt of the transactioncurrency_from – (
discoin.Currency) The currency object that the transaction is coming fromcurrency_to – (
discoin.Currency) The currency object that the transaction is going toamount – (
float) The original amount of the transactionuser_id – (
int) the id of the user who requested the transactionhandled – (
bool) if the transaction has been marked as proccessedtimestamp – (
datetime.datetime) The timestamp for when the transaction took placepayout – (
float) The amount calculated to its final destination
-
__init__(transaction_obj)¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__(transaction_obj)Initialize self.