class ConsentController extends AbstractController implements ConsentApi, AccountApi {

    @Override
    public ResponseEntity<ReadCardAccountBalanceResponse200> getCardAccountBalances(String accountId,
                                                                                    Map<String, String> parameters,
                                                                                    Map<String, String> headers) {
        Response<ReadCardAccountBalanceResponse200> response =
            accountInformationService.getCardAccountBalances(accountId,
                RequestHeaders.fromMap(headers),
                RequestParams.fromMap(parameters));
        return ResponseEntity.status(HttpStatus.OK)
            .headers(headersMapper.toHttpHeaders(response.getHeaders()))
            .body(response.getBody());
    }

    public  ConsentController(AccountInformationService accountInformationService, ObjectMapper objectMapper, HeadersMapper headersMapper);

}