Package monero.wallet.model
Class MoneroTxConfig
java.lang.Object
monero.wallet.model.MoneroTxConfig
Configures a transaction to send, sweep, or create a payment URI.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDestination(String address, BigInteger amount) addDestination(MoneroDestination destination) copy()booleanGet the address of a single-destination configuration.Get the amount of a single-destination configuration.getFee()getNote()getRelay()inthashCode()setAccountIndex(Integer accountIndex) setAddress(String address) Set the address of a single-destination configuration.Set the amount of a single-destination configuration.setAmount(BigInteger amount) Set the amount of a single-destination configuration.setBelowAmount(BigInteger belowAmount) setCanSplit(Boolean canSplit) setDestinations(List<MoneroDestination> destinations) setDestinations(MoneroDestination... destinations) setFee(BigInteger fee) setKeyImage(String keyImage) setPaymentId(String paymentId) setPriority(MoneroTxPriority priority) setRecipientName(String recipientName) setSubaddressIndex(Integer subaddressIndex) setSubaddressIndices(Integer... subaddressIndices) setSubaddressIndices(List<Integer> subaddressIndices) setSubtractFeeFrom(Integer... destinationIndices) setSubtractFeeFrom(List<Integer> destinationIndices) setSweepEachSubaddress(Boolean sweepEachSubaddress) toString()
-
Constructor Details
-
MoneroTxConfig
public MoneroTxConfig()
-
-
Method Details
-
copy
-
setAddress
Set the address of a single-destination configuration.- Parameters:
address- - the address to set for the single destination- Returns:
- MoneroTxConfig this configuration for chaining
-
getAddress
Get the address of a single-destination configuration.- Returns:
- String the address of the single destination
-
setAmount
Set the amount of a single-destination configuration.- Parameters:
amount- - the amount to set for the single destination- Returns:
- MoneroTxConfig this configuration for chaining
-
setAmount
Set the amount of a single-destination configuration.- Parameters:
amount- - the amount to set for the single destination in atomic units as a string- Returns:
- MoneroTxConfig this configuration for chaining
-
getAmount
Get the amount of a single-destination configuration.- Returns:
- BigInteger the amount of the single destination
-
addDestination
-
addDestination
-
getDestinations
-
setDestinations
-
setDestinations
-
getSubtractFeeFrom
-
setSubtractFeeFrom
-
setSubtractFeeFrom
-
getPaymentId
-
setPaymentId
-
getPriority
-
setPriority
-
getFee
-
setFee
-
getAccountIndex
-
setAccountIndex
-
getSubaddressIndices
-
setSubaddressIndex
-
setSubaddressIndices
-
setSubaddressIndices
-
getCanSplit
-
setCanSplit
-
getRelay
-
setRelay
-
getNote
-
setNote
-
getRecipientName
-
setRecipientName
-
getBelowAmount
-
setBelowAmount
-
getSweepEachSubaddress
-
setSweepEachSubaddress
-
getKeyImage
-
setKeyImage
-
toString
-
hashCode
public int hashCode() -
equals
-