| Constructor and Description |
|---|
WalletApiImpl(MangoPayApi root)
Instantiates new WalletApiImpl object.
|
| 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.
|
createObject, createObject, createObject, getList, getList, getList, getList, getList, getList, getListNoClientId, getObject, getObjectNoClientId, getRequestType, getRequestUrl, getRoot, updateObject, updateObject, updateObject, updateObjectpublic WalletApiImpl(MangoPayApi root)
root - Root/parent instance that holds the OAuthToken and Configuration instancepublic Wallet create(Wallet wallet) throws java.lang.Exception
WalletApipublic Wallet create(java.lang.String idempotencyKey, Wallet wallet) throws java.lang.Exception
WalletApipublic Wallet get(java.lang.String walletId) throws java.lang.Exception
WalletApipublic Wallet update(Wallet wallet) throws java.lang.Exception
WalletApipublic java.util.List<Transaction> getTransactions(java.lang.String walletId, Pagination pagination, FilterTransactions filter, Sorting sorting) throws java.lang.Exception
WalletApigetTransactions in interface WalletApiwalletId - Wallet identifier.pagination - Pagination object.filter - Object to filter data.java.lang.Exceptionpublic java.util.List<Transaction> getTransactions(java.lang.String walletId, Pagination pagination, FilterTransactions filter) throws java.lang.Exception
WalletApigetTransactions in interface WalletApiwalletId - Wallet identifier.pagination - Pagination object.filter - Object to filter data.java.lang.Exceptionpublic java.util.List<Transaction> getTransactions(java.lang.String walletId, Pagination pagination) throws java.lang.Exception
WalletApigetTransactions in interface WalletApiwalletId - Wallet identifier.pagination - Pagination object.java.lang.Exceptionpublic java.util.List<Transaction> getTransactions(java.lang.String walletId) throws java.lang.Exception
WalletApigetTransactions in interface WalletApiwalletId - Wallet identifier.java.lang.Exception