Class CardAccountService


  • @Service
    public class CardAccountService
    extends Object
    • Constructor Detail

      • CardAccountService

        public CardAccountService()
    • Method Detail

      • getCardAccountList

        public ResponseObject<Xs2aCardAccountListHolder> getCardAccountList​(String consentId,
                                                                            String requestUri)
        Gets CardAccount list based on card accounts in provided AIS-consent, depending on AccountAccess in AIS-consent Balances are passed al/AccountControllerTestong with CardAccountDetails.
        Parameters:
        consentId - String representing an Consent identification
        requestUri - the URI of incoming request
        Returns:
        response with Xs2aCardAccountListHolder containing the List of CardAccountDetails with Balances and granted by consent
      • getCardAccountDetails

        public ResponseObject<Xs2aCardAccountDetailsHolder> getCardAccountDetails​(String consentId,
                                                                                  String accountId,
                                                                                  String requestUri)
        Gets CardAccount details based on card account ID and provided AIS-consent, depending on AccountAccess in AIS-consent.
        Parameters:
        consentId - String representing an Consent identification
        accountId - identifier of the account
        requestUri - the URI of incoming request
        Returns:
        response with Xs2aCardAccountDetailsHolder containing Xs2aCardAccountDetails object instance