Interface TransactionLedger
public interface TransactionLedger
-
Method Summary
Modifier and TypeMethodDescriptionfilter(Account account, EconomyContext context, Currency currency, TransactionStatus status, Instant start, Instant end, int limit, int offset) history(Account account, EconomyContext context, Currency currency, int limit, int offset) historyBetween(Account account, Instant start, Instant end) historyGlobal(EconomyContext context, int limit, int offset)
-
Method Details
-
history
-
history
CompletableFuture<Collection<TransactionResult>> history(Account account, EconomyContext context, Currency currency, int limit, int offset) -
historyBetween
CompletableFuture<Collection<TransactionResult>> historyBetween(Account account, Instant start, Instant end) -
filter
CompletableFuture<Collection<TransactionResult>> filter(Account account, EconomyContext context, Currency currency, TransactionStatus status, Instant start, Instant end, int limit, int offset) -
historyGlobal
CompletableFuture<Collection<TransactionResult>> historyGlobal(EconomyContext context, int limit, int offset) -
revert
CompletableFuture<TransactionResult> revert(UUID transactionId, net.kyori.adventure.text.Component reason)
-