class BaseAccountInformationService extends AbstractService implements AccountInformationService {

    @Override
    public Response<Void> deleteConsent(String consentId,
                                        RequestHeaders requestHeaders,
                                        RequestParams requestParams) {
        requireValid(validateDeleteConsent(consentId, requestHeaders, requestParams));

        String uri = StringUri.fromElements(getConsentBaseUri(), consentId);
        uri = buildUri(uri, requestParams);
        Map<String, String> headersMap = populateDeleteHeaders(requestHeaders.toMap());
        return httpClient.delete(uri)
                   .headers(headersMap)
                   .send(jsonResponseHandler(Void.class), interceptors);
    }

    public  BaseAccountInformationService(Aspsp aspsp, HttpClient httpClient);
    public  BaseAccountInformationService(Aspsp aspsp,
                                         HttpClient httpClient,
                                         Interceptor requestBuilderInterceptor);
    public  BaseAccountInformationService(Aspsp aspsp,
                                         HttpClient httpClient,
                                         LinksRewriter linksRewriter);
    public  BaseAccountInformationService(Aspsp aspsp,
                                         HttpClient httpClient,
                                         Interceptor requestBuilderInterceptor,
                                         LinksRewriter linksRewriter);
    public  BaseAccountInformationService(Aspsp aspsp,
                                         HttpClient httpClient,
                                         List<Interceptor> interceptors,
                                         LinksRewriter linksRewriter);

}