Package monero.wallet.model
Class MoneroOutgoingTransfer
java.lang.Object
monero.wallet.model.MoneroTransfer
monero.wallet.model.MoneroOutgoingTransfer
Models an outgoing transfer of funds from the wallet.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleaninthashCode()merge(MoneroOutgoingTransfer transfer) Updates this transaction by merging the latest information from the given transaction.merge(MoneroTransfer transfer) Updates this transfer by merging the latest information from the given transfer.setAccountIndex(Integer accountIndex) setAddresses(List<String> addresses) setAmount(BigInteger amount) setDestinations(List<MoneroDestination> destinations) setSubaddressIndices(List<Integer> subaddressIndices) setTx(MoneroTxWallet tx) toString()toString(int indent) Methods inherited from class monero.wallet.model.MoneroTransfer
getAccountIndex, getAmount, getTx, isOutgoing
-
Constructor Details
-
MoneroOutgoingTransfer
public MoneroOutgoingTransfer() -
MoneroOutgoingTransfer
-
-
Method Details
-
copy
- Specified by:
copyin classMoneroTransfer
-
isIncoming
- Specified by:
isIncomingin classMoneroTransfer
-
getSubaddressIndices
-
setSubaddressIndices
-
getAddresses
-
setAddresses
-
getDestinations
-
setDestinations
-
merge
Description copied from class:MoneroTransferUpdates this transfer by merging the latest information from the given transfer. 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.- Overrides:
mergein classMoneroTransfer- Parameters:
transfer- is the transfer to merge into this one- Returns:
- the merged transfer
-
merge
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:
transfer- is the transfer to merge into this one- Returns:
- this transfer for chaining
-
toString
- Overrides:
toStringin classMoneroTransfer
-
toString
- Overrides:
toStringin classMoneroTransfer
-
hashCode
public int hashCode()- Overrides:
hashCodein classMoneroTransfer
-
equals
- Overrides:
equalsin classMoneroTransfer
-
setTx
- Overrides:
setTxin classMoneroTransfer
-
setAmount
- Overrides:
setAmountin classMoneroTransfer
-
setAccountIndex
- Overrides:
setAccountIndexin classMoneroTransfer
-