Class AccountListService


  • @Service
    public class AccountListService
    extends Object
    • Constructor Detail

      • AccountListService

        public AccountListService()
    • Method Detail

      • getAccountList

        public 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.
        Parameters:
        consentId - String representing an AccountConsent identification
        withBalance - boolean representing if the responded AccountDetails should contain
        requestUri - the URI of incoming request
        Returns:
        response with Xs2aAccountListHolder containing the List of AccountDetails with Balances if requested and granted by consent