public class BaseAccountInformationService extends AbstractService implements AccountInformationService
ACCEPT_HEADER, APPLICATION_JSON, AUTHORISATIONS, CHARSET_PATTERN, CONTENT_TYPE_HEADER, httpClient, jsonMapper, STATUS| Constructor and Description |
|---|
BaseAccountInformationService(String baseUri) |
addConsentIdHeader, buildUri, getSinglePaymentInitiationBodyClass, populateDeleteHeaders, populateGetHeaders, populatePostHeaders, populatePutHeaders, responseException, setHttpClientpublic BaseAccountInformationService(String baseUri)
public GeneralResponse<ConsentCreationResponse> createConsent(RequestHeaders requestHeaders, Consents body)
createConsent in interface AccountInformationServiceprotected <T> GeneralResponse<ConsentCreationResponse> createConsent(RequestHeaders requestHeaders, Consents body, Class<T> klass, Function<T,ConsentCreationResponse> mapper)
public GeneralResponse<ConsentInformation> getConsentInformation(String consentId, RequestHeaders requestHeaders)
getConsentInformation in interface AccountInformationServiceprotected <T> GeneralResponse<ConsentInformation> getConsentInformation(String consentId, RequestHeaders requestHeaders, Class<T> klass, Function<T,ConsentInformation> mapper)
public GeneralResponse<Void> deleteConsent(String consentId, RequestHeaders requestHeaders)
deleteConsent in interface AccountInformationServicepublic GeneralResponse<ConsentStatusResponse> getConsentStatus(String consentId, RequestHeaders requestHeaders)
getConsentStatus in interface AccountInformationServicepublic GeneralResponse<StartScaProcessResponse> startConsentAuthorisation(String consentId, RequestHeaders requestHeaders)
startConsentAuthorisation in interface AccountInformationServiceprotected <T> GeneralResponse<StartScaProcessResponse> startConsentAuthorisation(String consentId, RequestHeaders requestHeaders, Class<T> klass, Function<T,StartScaProcessResponse> mapper)
public GeneralResponse<StartScaProcessResponse> startConsentAuthorisation(String consentId, RequestHeaders requestHeaders, UpdatePsuAuthentication updatePsuAuthentication)
startConsentAuthorisation in interface AccountInformationServiceprotected <T> GeneralResponse<StartScaProcessResponse> startConsentAuthorisation(String consentId, RequestHeaders requestHeaders, UpdatePsuAuthentication updatePsuAuthentication, Class<T> klass, Function<T,StartScaProcessResponse> mapper)
public GeneralResponse<UpdatePsuAuthenticationResponse> updateConsentsPsuData(String consentId, String authorisationId, RequestHeaders requestHeaders, UpdatePsuAuthentication updatePsuAuthentication)
updateConsentsPsuData in interface AccountInformationServicepublic GeneralResponse<SelectPsuAuthenticationMethodResponse> updateConsentsPsuData(String consentId, String authorisationId, RequestHeaders requestHeaders, SelectPsuAuthenticationMethod selectPsuAuthenticationMethod)
updateConsentsPsuData in interface AccountInformationServicepublic GeneralResponse<ScaStatusResponse> updateConsentsPsuData(String consentId, String authorisationId, RequestHeaders requestHeaders, TransactionAuthorisation transactionAuthorisation)
updateConsentsPsuData in interface AccountInformationServicepublic GeneralResponse<AccountListHolder> getAccountList(RequestHeaders requestHeaders, RequestParams requestParams)
getAccountList in interface AccountInformationServicepublic GeneralResponse<TransactionsReport> getTransactionList(String accountId, RequestHeaders requestHeaders, RequestParams requestParams)
getTransactionList in interface AccountInformationServiceprotected <T> GeneralResponse<TransactionsReport> getTransactionList(String accountId, RequestHeaders requestHeaders, RequestParams requestParams, Class<T> klass, Function<T,TransactionsReport> mapper)
public GeneralResponse<String> getTransactionListAsString(String accountId, RequestHeaders requestHeaders, RequestParams requestParams)
getTransactionListAsString in interface AccountInformationServicepublic GeneralResponse<ScaStatusResponse> getConsentScaStatus(String consentId, String authorisationId, RequestHeaders requestHeaders)
getConsentScaStatus in interface AccountInformationServicepublic GeneralResponse<BalanceReport> getBalances(String accountId, RequestHeaders requestHeaders)
getBalances in interface AccountInformationServiceprotected <T> GeneralResponse<BalanceReport> getBalances(String accountId, RequestHeaders requestHeaders, Class<T> klass, Function<T,BalanceReport> mapper)
protected String getConsentBaseUri()
protected String getAccountsBaseUri()
Copyright © 2019. All rights reserved.