public interface WalletApi
| Modifier and Type | Method and Description |
|---|---|
Wallet |
create(java.lang.String idempotencyKey,
Wallet wallet)
Creates a new wallet.
|
Wallet |
create(Wallet wallet)
Creates a new wallet.
|
Wallet |
get(java.lang.String walletId)
Gets the wallet.
|
java.util.List<Transaction> |
getTransactions(java.lang.String walletId)
Gets transactions for the wallet.
|
java.util.List<Transaction> |
getTransactions(java.lang.String walletId,
Pagination pagination)
Gets transactions for the wallet.
|
java.util.List<Transaction> |
getTransactions(java.lang.String walletId,
Pagination pagination,
FilterTransactions filter)
Gets transactions for the wallet.
|
java.util.List<Transaction> |
getTransactions(java.lang.String walletId,
Pagination pagination,
FilterTransactions filter,
Sorting sorting)
Gets transactions for the wallet.
|
Wallet |
update(Wallet wallet)
Updates the wallet.
|
Wallet create(Wallet wallet) throws java.lang.Exception
wallet - Wallet instance to be created.java.lang.ExceptionWallet create(java.lang.String idempotencyKey, Wallet wallet) throws java.lang.Exception
idempotencyKey - idempotency key for this request.wallet - Wallet instance to be created.java.lang.ExceptionWallet get(java.lang.String walletId) throws java.lang.Exception
walletId - Wallet identifier.java.lang.ExceptionWallet update(Wallet wallet) throws java.lang.Exception
wallet - Wallet object to save.java.lang.Exceptionjava.util.List<Transaction> getTransactions(java.lang.String walletId, Pagination pagination, FilterTransactions filter, Sorting sorting) throws java.lang.Exception
walletId - Wallet identifier.pagination - Pagination object.filter - Object to filter data.java.lang.Exceptionjava.util.List<Transaction> getTransactions(java.lang.String walletId, Pagination pagination, FilterTransactions filter) throws java.lang.Exception
walletId - Wallet identifier.pagination - Pagination object.filter - Object to filter data.java.lang.Exceptionjava.util.List<Transaction> getTransactions(java.lang.String walletId, Pagination pagination) throws java.lang.Exception
walletId - Wallet identifier.pagination - Pagination object.java.lang.Exceptionjava.util.List<Transaction> getTransactions(java.lang.String walletId) throws java.lang.Exception
walletId - Wallet identifier.java.lang.Exception