Package de.adorsys.psd2.xs2a.service.ais
Class AccountDetailsService
- java.lang.Object
-
- de.adorsys.psd2.xs2a.service.ais.AccountDetailsService
-
@Service public class AccountDetailsService extends Object
-
-
Constructor Summary
Constructors Constructor Description AccountDetailsService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 Consent identificationaccountId- String representing a PSU`s Account at ASPSPwithBalance- boolean representing if the responded AccountDetails should containrequestUri- the URI of incoming request- Returns:
- response with
Xs2aAccountDetailsHolderbased on accountId with Balances if requested and granted by consent
-
-