@Service @Validated public class AccountService extends Object
| Constructor and Description |
|---|
AccountService() |
| Modifier and Type | Method and 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.
|
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.
|
ResponseObject<Xs2aBalancesReport> |
getBalancesReport(String consentId,
String accountId,
String requestUri)
Gets Balances Report based on consentId and accountId
|
ResponseObject<Transactions> |
getTransactionDetails(String consentId,
String accountId,
String transactionId,
String requestUri)
Gets transaction details by transaction id
|
ResponseObject<Xs2aTransactionsReport> |
getTransactionsReportByPeriod(Xs2aTransactionsReportByPeriodRequest request)
Read Transaction reports of a given account adressed by "account-id", depending on the steering parameter
"bookingStatus" together with balances.
|
public ResponseObject<Xs2aAccountListHolder> getAccountList(String consentId, boolean withBalance, String requestUri)
consentId - String representing an AccountConsent identificationwithBalance - boolean representing if the responded AccountDetails should containrequestUri - the URI of incoming requestXs2aAccountListHolder containing the List of AccountDetails with Balances if requested and granted by consentpublic ResponseObject<Xs2aAccountDetailsHolder> getAccountDetails(String consentId, String accountId, boolean withBalance, String requestUri)
consentId - String representing an AccountConsent identificationaccountId - String representing a PSU`s Account at ASPSPwithBalance - boolean representing if the responded AccountDetails should containrequestUri - the URI of incoming requestXs2aAccountDetailsHolder based on accountId with Balances if requested and granted by consentpublic ResponseObject<Xs2aBalancesReport> getBalancesReport(String consentId, String accountId, String requestUri)
consentId - String representing an AccountConsent identificationaccountId - String representing a PSU`s Account at ASPSPrequestUri - the URI of incoming requestpublic ResponseObject<Xs2aTransactionsReport> getTransactionsReportByPeriod(Xs2aTransactionsReportByPeriodRequest request)
request - Xs2aTransactionsReportByPeriodRequest object which contains information for building Xs2aTransactionsReportpublic ResponseObject<Transactions> getTransactionDetails(String consentId, String accountId, String transactionId, String requestUri)
consentId - String representing an AccountConsent identificationaccountId - String representing a PSU`s Account attransactionId - String representing the ASPSP identification of transactionrequestUri - the URI of incoming requestCopyright © 2019. All rights reserved.