class RemotePaymentInitiationService implements PaymentInitiationService {

    @Override
    public Response<PaymentInitiationStatusResponse200Json> getPaymentInitiationStatus(PaymentService paymentService,
                                                                                       PaymentProduct paymentProduct,
                                                                                       String paymentId,
                                                                                       RequestHeaders requestHeaders,
                                                                                       RequestParams requestParams) {
        ResponseEntity<Object> responseEntity = client.getPaymentInitiationStatus(
            paymentService,
            paymentProduct,
            paymentId,
            requestParams.toMap(),
            requestHeaders.toMap());
        PaymentInitiationStatusResponse200Json response =
            objectMapper.convertValue(responseEntity.getBody(), PaymentInitiationStatusResponse200Json.class);
        return new Response<>(responseEntity.getStatusCodeValue(),
            response,
            responseHeadersMapper.getHeaders(responseEntity.getHeaders()));
    }

    public  RemotePaymentInitiationService(PaymentInitiationClient paymentInitiationClient);
    public  RemotePaymentInitiationService(PaymentInitiationClient paymentInitiationClient, ObjectMapper objectMapper);

}