@Service @Validated public class AccountService extends Object
| Constructor and Description |
|---|
AccountService() |
| Modifier and Type | Method and Description |
|---|---|
SpiAccountReference |
findAccountReference(AccountAccessType allPsd2,
List<AccountReference> references,
String resourceId) |
ResponseObject<Xs2aAccountDetailsHolder> |
getAccountDetails(String consentId,
String accountId,
boolean withBalance,
String requestUri)
Gets AccountDetails based on accountId, details get checked with provided AIS-consent, depending on
withBalance variable and
AccountAccess in AIS-consent Balances are passed along with AccountDetails.
|
ResponseObject<Xs2aAccountListHolder> |
getAccountList(String consentId,
boolean withBalance,
String requestUri)
Gets AccountDetails list based on accounts in provided AIS-consent, depending on withBalance variable and
AccountAccess in AIS-consent Balances are passed along with AccountDetails.
|
ResponseObject<Xs2aBalancesReport> |
getBalancesReport(String consentId,
String accountId,
String requestUri)
Gets Balances Report based on consentId and accountId
|
public ResponseObject<Xs2aAccountListHolder> getAccountList(String consentId, boolean withBalance, String requestUri)
consentId - String representing an AccountConsent identificationwithBalance - boolean representing if the responded AccountDetails should containrequestUri - the URI of incoming requestXs2aAccountListHolder containing the List of AccountDetails with Balances if requested and granted by consentpublic ResponseObject<Xs2aAccountDetailsHolder> getAccountDetails(String consentId, String accountId, boolean withBalance, String requestUri)
consentId - String representing an AccountConsent identificationaccountId - String representing a PSU`s Account at ASPSPwithBalance - boolean representing if the responded AccountDetails should containrequestUri - the URI of incoming requestXs2aAccountDetailsHolder based on accountId with Balances if requested and granted by consentpublic ResponseObject<Xs2aBalancesReport> getBalancesReport(String consentId, String accountId, String requestUri)
consentId - String representing an AccountConsent identificationaccountId - String representing a PSU`s Account at ASPSPrequestUri - the URI of incoming requestpublic SpiAccountReference findAccountReference(AccountAccessType allPsd2, List<AccountReference> references, String resourceId)
Copyright © 2019. All rights reserved.