Constructor
new MoneroTransfer(state)
Construct the model.
Parameters:
Name | Type | Description |
---|---|---|
state |
MoneroTransfer | object | is existing state to initialize from (optional) |
Methods
copy()
getAccountIndex()
getAmount()
getTx()
isIncoming()
isOutgoing()
merge(transfer) → {MoneroTransfer}
Updates this transaction by merging the latest information from the given
transaction.
Merging can modify or build references to the transfer given so it
should not be re-used or it should be copied before calling this method.
Parameters:
Name | Type | Description |
---|---|---|
transfer |
is the transfer to merge into this one |
Returns:
the merged transfer
- Type
- MoneroTransfer