@Service @Validated public class AccountService extends Object
| Constructor and Description |
|---|
AccountService() |
| Modifier and Type | Method and Description |
|---|---|
ResponseObject<Xs2aAccountDetails> |
getAccountDetails(String consentId,
String accountId,
boolean withBalance)
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<Map<String,List<Xs2aAccountDetails>>> |
getAccountList(String consentId,
boolean withBalance)
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)
Gets Balances Report based on consentId and accountId
|
ResponseObject<Transactions> |
getTransactionDetails(String consentId,
String accountId,
String transactionId)
Gets transaction details by transaction id
|
ResponseObject<Xs2aTransactionsReport> |
getTransactionsReportByPeriod(String consentId,
String accountId,
String acceptHeader,
boolean withBalance,
LocalDate dateFrom,
LocalDate dateTo,
Xs2aBookingStatus bookingStatus)
Read Transaction reports of a given account adressed by "account-id", depending on the steering parameter
"bookingStatus" together with balances.
|
public ResponseObject<Map<String,List<Xs2aAccountDetails>>> getAccountList(String consentId, boolean withBalance)
consentId - String representing an AccountConsent identificationwithBalance - boolean representing if the responded AccountDetails should containpublic ResponseObject<Xs2aAccountDetails> getAccountDetails(String consentId, String accountId, boolean withBalance)
consentId - String representing an AccountConsent identificationaccountId - String representing a PSU`s Account at ASPSPwithBalance - boolean representing if the responded AccountDetails should containpublic ResponseObject<Xs2aBalancesReport> getBalancesReport(String consentId, String accountId)
consentId - String representing an AccountConsent identificationaccountId - String representing a PSU`s Account at ASPSPpublic ResponseObject<Xs2aTransactionsReport> getTransactionsReportByPeriod(String consentId, String accountId, String acceptHeader, boolean withBalance, LocalDate dateFrom, LocalDate dateTo, Xs2aBookingStatus bookingStatus)
accountId - String representing a PSU`s Account at ASPSPwithBalance - boolean representing if the responded AccountDetails should contain. Not applicable since
v1.1acceptHeader - String representing of requested accept headerconsentId - String representing an AccountConsent identificationdateFrom - ISO Date representing the value of desired start date of AccountReportdateTo - ISO Date representing the value of desired end date of AccountReport (if omitted is set
to current date)bookingStatus - ENUM representing either one of BOOKED/PENDING or BOTH transaction statusespublic ResponseObject<Transactions> getTransactionDetails(String consentId, String accountId, String transactionId)
consentId - String representing an AccountConsent identificationaccountId - String representing a PSU`s Account attransactionId - String representing the ASPSP identification of transactionCopyright © 2019. All rights reserved.