class RemoteAccountInformationService implements AccountInformationService {

    @Override
    public Response<ConsentStatusResponse200> getConsentStatus(String consentId,
                                                               RequestHeaders requestHeaders,
                                                               RequestParams requestParams) {
        ResponseEntity<ConsentStatusResponse200> responseEntity =
            client.getConsentStatus(consentId, requestParams.toMap(), requestHeaders.toMap());
        return new Response<>(
            responseEntity.getStatusCodeValue(),
            responseEntity.getBody(),
            responseHeadersMapper.getHeaders(responseEntity.getHeaders())
        );
    }

    public  RemoteAccountInformationService(
        AccountInformationClient client, ObjectMapper objectMapper
    );
    public  RemoteAccountInformationService(AccountInformationClient client);

}