@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.
|
Optional<Xs2aAccountDetails> |
getAccountDetailsByAccountReference(AccountReference reference) |
ResponseObject<Map<String,List<Xs2aAccountDetails>>> |
getAccountDetailsList(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> |
getAccountReport(String consentId,
String accountId,
LocalDate dateFrom,
LocalDate dateTo,
String transactionId,
boolean psuInvolved,
Xs2aBookingStatus bookingStatus,
boolean withBalance,
boolean deltaList)
Gets AccountReport with Booked/Pending or both transactions dependent on request.
|
ResponseObject<Xs2aAccountReport> |
getAccountReportByPeriod(String accountId,
boolean withBalance,
String consentId,
LocalDate dateFrom,
LocalDate dateTo,
Xs2aBookingStatus bookingStatus)
Gets AccountReport with Booked/Pending or both transactions dependent on request.
|
ResponseObject<Xs2aAccountReport> |
getAccountReportByTransactionId(String consentId,
String accountId,
String transactionId)
Gets AccountReport with Booked/Pending or both transactions dependent on request.
|
ResponseObject<List<Xs2aBalance>> |
getBalances(String consentId,
String accountId)
Gets AccountDetails based on accountId, details get checked with provided AIS-consent Balances section
|
public ResponseObject<Map<String,List<Xs2aAccountDetails>>> getAccountDetailsList(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<List<Xs2aBalance>> getBalances(String consentId, String accountId)
consentId - String representing an AccountConsent identificationaccountId - String representing a PSU`s Account at ASPSPpublic ResponseObject<Xs2aAccountReport> getAccountReport(String consentId, String accountId, LocalDate dateFrom, LocalDate dateTo, String transactionId, boolean psuInvolved, Xs2aBookingStatus bookingStatus, boolean withBalance, boolean deltaList)
consentId - String representing an AccountConsent identificationaccountId - String representing a PSU`s Account at ASPSPdateFrom - 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)transactionId - String representing the ASPSP identification of transactionpsuInvolved - Not applicable since v1.1bookingStatus - ENUM representing either one of BOOKED/PENDING or BOTH transaction statuseswithBalance - boolean representing if the responded AccountDetails should contain. Not applicable since v1.1deltaList - boolean indicating that the AISP is in favour to get all transactions after the last report access for this PSU on the addressed accountpublic ResponseObject<Xs2aAccountReport> getAccountReportByPeriod(String accountId, boolean withBalance, String consentId, 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 transactionpublic Optional<Xs2aAccountDetails> getAccountDetailsByAccountReference(AccountReference reference)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.