Package de.adorsys.psd2.xs2a.service.ais
Class AccountListService
- java.lang.Object
-
- de.adorsys.psd2.xs2a.service.ais.AccountListService
-
@Service public class AccountListService extends Object
-
-
Constructor Summary
Constructors Constructor Description AccountListService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 Consent identificationwithBalance- boolean representing if the responded AccountDetails should containrequestUri- the URI of incoming request- Returns:
- response with
Xs2aAccountListHoldercontaining the List of AccountDetails with Balances if requested and granted by consent
-
-