@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<Xs2aAccountReport> |
getAccountReportByTransactionId(String consentId,
String accountId,
String transactionId)
Gets AccountReport with Booked/Pending or both transactions dependent on request.
|
ResponseObject<Xs2aBalancesReport> |
getBalancesReport(String consentId,
String accountId)
Gets Balances Report based on consentId and accountId
|
ResponseObject<Xs2aTransactionsReport> |
getTransactionsReportByPeriod(String consentId,
String accountId,
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, 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.1consentId - 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<Xs2aAccountReport> getAccountReportByTransactionId(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 © 2018 Pivotal Software, Inc.. All rights reserved.