public interface MiddlewareAccountManagementService
| Modifier and Type | Method and Description |
|---|---|
SCAConsentResponseTO |
authorizeConsent(ScaInfoTO scaInfoTO,
String consentId)
Authorizes a consent request.
|
boolean |
changeStatus(String accountId,
boolean systemBlock) |
boolean |
confirmFundsAvailability(FundsConfirmationRequestTO request)
Confirm the availability of funds on user account to perform the operation with specified amount
|
void |
createDepositAccount(ScaInfoTO scaInfoTO,
String accountNumberPrefix,
String accountNumberSuffix,
AccountDetailsTO accDetails)
Creates a new DepositAccount for the connected user.
|
void |
createDepositAccount(String userId,
ScaInfoTO scaInfoTO,
AccountDetailsTO depositAccount)
Creates a new DepositAccount.
|
void |
deleteAccount(String userId,
UserRoleTO userRole,
String accountId) |
void |
deleteTransactions(String userId,
UserRoleTO userRole,
String accountId)
Remove all transactions for deposit account
|
void |
deleteUser(String userId,
UserRoleTO userRole,
String userToDeleteId) |
void |
depositCash(ScaInfoTO scaInfoTO,
String accountId,
AmountTO amount)
Deposits given amount in cash into specified account.
|
List<AccountAccessTO> |
getAccountAccesses(String userId)
Retrieves a List of AccountAccessTO by userId
|
AccountReportTO |
getAccountReport(String accountId) |
CustomPageImpl<AccountDetailsExtendedTO> |
getAccountsByBranchAndMultipleParams(String countryCode,
String branchId,
String branchLogin,
String iban,
Boolean blocked,
CustomPageableImpl pageable) |
List<AccountDetailsTO> |
getAccountsByIbanAndCurrency(String iban,
String currency) |
List<AccountDetailsTO> |
getAllAccountDetailsByUserLogin(String userLogin)
Retrieves a List of AccountDetails by user login (psuId)
|
AccountDetailsTO |
getDepositAccountByIban(String iban,
LocalDateTime time,
boolean withBalance)
Deprecated.
shall be removed in v2.5
|
AccountDetailsTO |
getDepositAccountById(String id,
LocalDateTime time,
boolean withBalance)
Retrieves AccountDetails with Balance on demand
|
TransactionTO |
getTransactionById(String accountId,
String transactionId)
Retrieves transaction by accountId and transactionId
|
List<TransactionTO> |
getTransactionsByDates(String accountId,
LocalDate dateFrom,
LocalDate dateTo)
Retrieves a List of transactions by accountId and dates (from/to) if dateTo is empty it is considered that requested date is today
|
CustomPageImpl<TransactionTO> |
getTransactionsByDatesPaged(String accountId,
LocalDate dateFrom,
LocalDate dateTo,
CustomPageableImpl pageable)
Retrieves a List of transactions by accountId and dates (from/to) if dateTo is empty it is considered that requested date is today
|
SCAConsentResponseTO |
grantAisConsent(ScaInfoTO scaInfoTO,
AisConsentTO aisConsent)
Provide a third party provider with necessary permission to read accounts and
transaction information for the specified account.
|
String |
iban(String id) |
List<AccountDetailsTO> |
listDepositAccounts(String userId)
Retrieve the list of account viewable by the connected user.
|
List<AccountDetailsTO> |
listDepositAccountsByBranch(String userId)
TODO: return account or account details ???
Retrieve the list of account registered for the branch.
|
CustomPageImpl<AccountDetailsTO> |
listDepositAccountsByBranchPaged(String userId,
String queryParam,
CustomPageableImpl pageable) |
SCAConsentResponseTO |
loadSCAForAisConsent(String userId,
String consentId,
String authorisationId) |
SCAConsentResponseTO |
selectSCAMethodForAisConsent(String userId,
String consentId,
String authorisationId,
String scaMethodId) |
SCAConsentResponseTO |
startSCA(ScaInfoTO scaInfoTO,
String consentId,
AisConsentTO aisConsent)
Start an account consent process.
|
List<AccountDetailsTO> getAccountsByIbanAndCurrency(String iban, String currency)
void createDepositAccount(String userId, ScaInfoTO scaInfoTO, AccountDetailsTO depositAccount)
Call requires a bank staff access permission.
userId: - the identifier of the user for whom the account is createdscaInfoTO - : SCA informationdepositAccount - : the deposit account to be crated.void createDepositAccount(ScaInfoTO scaInfoTO, String accountNumberPrefix, String accountNumberSuffix, AccountDetailsTO accDetails)
scaInfoTO - : SCA informationaccountNumberPrefix - : the account number prefix : the account number prefixaccountNumberSuffix - : th eaccount number suffixaccDetails - : account to create.List<AccountDetailsTO> listDepositAccounts(String userId)
userId - : user identifierList<AccountDetailsTO> listDepositAccountsByBranch(String userId)
userId - : user identifierCustomPageImpl<AccountDetailsTO> listDepositAccountsByBranchPaged(String userId, String queryParam, CustomPageableImpl pageable)
CustomPageImpl<AccountDetailsExtendedTO> getAccountsByBranchAndMultipleParams(String countryCode, String branchId, String branchLogin, String iban, Boolean blocked, CustomPageableImpl pageable)
AccountDetailsTO getDepositAccountById(String id, LocalDateTime time, boolean withBalance)
id - DepositAccount identifiertime - the reference time.withBalance - boolean specifying if Balances has to be added to AccountDetailsAccountDetailsTO getDepositAccountByIban(String iban, LocalDateTime time, boolean withBalance)
iban - DepositAccount ibantime - the reference time.withBalance - boolean specifying if Balances has to be added to AccountDetailsList<AccountDetailsTO> getAllAccountDetailsByUserLogin(String userLogin)
userLogin - the user loginTransactionTO getTransactionById(String accountId, String transactionId)
accountId - the account idtransactionId - the transaction idList<TransactionTO> getTransactionsByDates(String accountId, LocalDate dateFrom, LocalDate dateTo)
accountId - the account iddateFrom - from this timedateTo - to this timeCustomPageImpl<TransactionTO> getTransactionsByDatesPaged(String accountId, LocalDate dateFrom, LocalDate dateTo, CustomPageableImpl pageable)
accountId - the account iddateFrom - from this timedateTo - to this timeboolean confirmFundsAvailability(FundsConfirmationRequestTO request)
request - : teh fund confirmation request.SCAConsentResponseTO startSCA(ScaInfoTO scaInfoTO, String consentId, AisConsentTO aisConsent)
scaInfoTO - SCA informationconsentId - : the cosent id.aisConsent - : the consent detailsSCAConsentResponseTO loadSCAForAisConsent(String userId, String consentId, String authorisationId)
SCAConsentResponseTO selectSCAMethodForAisConsent(String userId, String consentId, String authorisationId, String scaMethodId)
SCAConsentResponseTO authorizeConsent(ScaInfoTO scaInfoTO, String consentId)
scaInfoTO - : SCA informationconsentId - : the cosent idSCAConsentResponseTO grantAisConsent(ScaInfoTO scaInfoTO, AisConsentTO aisConsent)
scaInfoTO - : SCA informationaisConsent - : the consent detailsvoid depositCash(ScaInfoTO scaInfoTO, String accountId, AmountTO amount)
scaInfoTO - SCA informationaccountId - id of the account deposited intoamount - amount of cash depositedList<AccountAccessTO> getAccountAccesses(String userId)
userId - id of the uservoid deleteTransactions(String userId, UserRoleTO userRole, String accountId)
userId - id of the useruserRole - role of user initiating operationaccountId - the account idvoid deleteAccount(String userId, UserRoleTO userRole, String accountId)
void deleteUser(String userId, UserRoleTO userRole, String userToDeleteId)
AccountReportTO getAccountReport(String accountId)
boolean changeStatus(String accountId, boolean systemBlock)
Copyright © 2021. All rights reserved.