class ConsentController extends AbstractController implements ConsentApi, AccountApi {

    @Override
    public ResponseEntity<OK200TransactionDetails> getTransactionDetails(String accountId,
                                                                         String transactionId,
                                                                         Map<String, String> parameters,
                                                                         Map<String, String> headers) {
        Response<OK200TransactionDetails> response = accountInformationService.getTransactionDetails(accountId,
            transactionId,
            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);

}