Class AccountDetailsService


  • @Service
    public class AccountDetailsService
    extends Object
    • Constructor Detail

      • AccountDetailsService

        public AccountDetailsService()
    • Method Detail

      • getAccountDetails

        public 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.
        Parameters:
        consentId - String representing an AccountConsent identification
        accountId - String representing a PSU`s Account at ASPSP
        withBalance - boolean representing if the responded AccountDetails should contain
        requestUri - the URI of incoming request
        Returns:
        response with Xs2aAccountDetailsHolder based on accountId with Balances if requested and granted by consent