| Constructor and Description |
|---|
ClientApiImpl(MangoPayApi root)
Instantiates new ClientApiImpl object.
|
| Modifier and Type | Method and Description |
|---|---|
BankAccount |
createBankAccountIBAN(BankAccount bankAccountIBAN) |
BankAccount |
createBankAccountIBAN(java.lang.String idempotencyKey,
BankAccount bankAccountIBAN) |
PayIn |
createBankWireDirect(ClientBankWireDirect bankWireDirect)
Request processing of a payment by bank wire.
|
PayIn |
createBankWireDirect(java.lang.String idempotencyKey,
ClientBankWireDirect bankWireDirect)
Request processing of a payment by bank wire.
|
PayOut |
createPayOut(PayOut payOut) |
PayOut |
createPayOut(java.lang.String idempotencyKey,
PayOut payOut) |
Client |
get()
Get client information.
|
java.util.List<KycDocument> |
getKycDocuments(Pagination pagination,
FilterKycDocuments filter,
Sorting sort) |
java.util.List<Transaction> |
getTransactions(Pagination pagination,
FilterTransactions filter,
Sorting sort)
View all transactions linked to your client wallets.
|
Wallet |
getWallet(FundsType fundsType,
CurrencyIso currency)
View one of your client wallets (fees or credit) with a particular currency.
|
java.util.List<Wallet> |
getWallets(FundsType fundsType,
Pagination pagination)
View your client wallets.
|
java.util.List<Transaction> |
getWalletTransactions(FundsType fundsType,
CurrencyIso currency,
Pagination pagination,
FilterTransactions filter,
Sorting sort)
View the transactions linked to your client wallets (fees and credit)
|
Client |
save(Client client)
Save client
|
void |
uploadLogo(byte[] binaryData)
Upload a logo for client.
|
void |
uploadLogo(java.lang.String filePath)
Upload a logo for client.
|
createObject, createObject, createObject, getList, getList, getList, getList, getList, getList, getListNoClientId, getObject, getObjectNoClientId, getRequestType, getRequestUrl, getRoot, updateObject, updateObject, updateObject, updateObjectpublic ClientApiImpl(MangoPayApi root)
root - Root/parent instance that holds the OAuthToken and Configuration instance.public java.util.List<KycDocument> getKycDocuments(Pagination pagination, FilterKycDocuments filter, Sorting sort) throws java.lang.Exception
getKycDocuments in interface ClientApijava.lang.Exceptionpublic Client get() throws java.lang.Exception
ClientApipublic Client save(Client client) throws java.lang.Exception
ClientApipublic void uploadLogo(byte[] binaryData)
throws java.lang.Exception
ClientApiuploadLogo in interface ClientApibinaryData - Bytes of the image filejava.lang.Exceptionpublic void uploadLogo(java.lang.String filePath)
throws java.lang.Exception
ClientApiuploadLogo in interface ClientApifilePath - File path of the image to uploadjava.lang.Exceptionpublic java.util.List<Wallet> getWallets(FundsType fundsType, Pagination pagination) throws java.lang.Exception
ClientApifundsType parameter.getWallets in interface ClientApifundsType - One of FundsTypespagination - Pagination objectjava.lang.Exceptionpublic Wallet getWallet(FundsType fundsType, CurrencyIso currency) throws java.lang.Exception
ClientApigetWallet in interface ClientApifundsType - One of FundsTypescurrency - The particular CurrencyIsojava.lang.Exceptionpublic java.util.List<Transaction> getWalletTransactions(FundsType fundsType, CurrencyIso currency, Pagination pagination, FilterTransactions filter, Sorting sort) throws java.lang.Exception
ClientApigetWalletTransactions in interface ClientApifundsType - One of FundsTypescurrency - The CurrencyIso in which to convert resultspagination - Pagination objectfilter - Filtering objectsort - Sorting objectjava.lang.Exceptionpublic java.util.List<Transaction> getTransactions(Pagination pagination, FilterTransactions filter, Sorting sort) throws java.lang.Exception
ClientApigetTransactions in interface ClientApipagination - Pagination objectfilter - Filtering objectsort - Sorting objectjava.lang.Exceptionpublic PayIn createBankWireDirect(ClientBankWireDirect bankWireDirect) throws java.lang.Exception
ClientApicreateBankWireDirect in interface ClientApibankWireDirect - The Bank Wire Direct detailsjava.lang.Exceptionpublic PayIn createBankWireDirect(java.lang.String idempotencyKey, ClientBankWireDirect bankWireDirect) throws java.lang.Exception
ClientApicreateBankWireDirect in interface ClientApiidempotencyKey - Idempotency keybankWireDirect - The Bank Wire Direct detailsjava.lang.Exceptionpublic BankAccount createBankAccountIBAN(BankAccount bankAccountIBAN) throws java.lang.Exception
createBankAccountIBAN in interface ClientApijava.lang.Exceptionpublic BankAccount createBankAccountIBAN(java.lang.String idempotencyKey, BankAccount bankAccountIBAN) throws java.lang.Exception
createBankAccountIBAN in interface ClientApijava.lang.Exceptionpublic PayOut createPayOut(PayOut payOut) throws java.lang.Exception
createPayOut in interface ClientApijava.lang.Exceptionpublic PayOut createPayOut(java.lang.String idempotencyKey, PayOut payOut) throws java.lang.Exception
createPayOut in interface ClientApijava.lang.Exception