Package monero.wallet.model
Class MoneroTransferQuery
java.lang.Object
monero.wallet.model.MoneroTransfer
monero.wallet.model.MoneroTransferQuery
- All Implemented Interfaces:
Filter<MoneroTransfer>
Configures a query to retrieve transfers.
All transfers are returned except those that do not meet the criteria defined in this query.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
meetsCriteria
(MoneroTransfer transfer) Indicates if the given item meets the criteria of this filter.setAccountIndex
(Integer accountIndex) setAddress
(String address) setAddresses
(String... addresses) setAddresses
(List<String> addresses) setAmount
(BigInteger amount) setDestinations
(List<MoneroDestination> destinations) setHasDestinations
(Boolean hasDestinations) setIsIncoming
(Boolean isIncoming) setIsOutgoing
(Boolean isOutgoing) setSubaddressIndex
(Integer subaddressIndex) setSubaddressIndices
(Integer... subaddressIndices) setSubaddressIndices
(List<Integer> subaddressIndices) setTx
(MoneroTxWallet tx) setTxQuery
(MoneroTxQuery txQuery) Methods inherited from class monero.wallet.model.MoneroTransfer
equals, getAccountIndex, getAmount, getTx, hashCode, merge, toString, toString
-
Constructor Details
-
MoneroTransferQuery
public MoneroTransferQuery() -
MoneroTransferQuery
-
-
Method Details
-
copy
- Specified by:
copy
in classMoneroTransfer
-
getTxQuery
-
setTxQuery
-
isIncoming
- Specified by:
isIncoming
in classMoneroTransfer
-
setIsIncoming
-
isOutgoing
- Overrides:
isOutgoing
in classMoneroTransfer
-
setIsOutgoing
-
getAddress
-
setAddress
-
getAddresses
-
setAddresses
-
setAddresses
-
getSubaddressIndex
-
setSubaddressIndex
-
getSubaddressIndices
-
setSubaddressIndices
-
setSubaddressIndices
-
getDestinations
-
setDestinations
-
hasDestinations
-
setHasDestinations
-
meetsCriteria
Description copied from interface:Filter
Indicates if the given item meets the criteria of this filter.- Specified by:
meetsCriteria
in interfaceFilter<MoneroTransfer>
- Parameters:
transfer
- is the item to test- Returns:
- true if the item meets the criteria of this filter, false otherwise
-
setTx
- Overrides:
setTx
in classMoneroTransfer
-
setAmount
- Overrides:
setAmount
in classMoneroTransfer
-
setAccountIndex
- Overrides:
setAccountIndex
in classMoneroTransfer
-