public PaymentResponse createPaymentResponse(final ServiceDetails paymentServiceDetails,final String response){
  final PaymentGatewayAdaptor paymentGatewayAdaptor=getPaymentGatewayAdaptor(paymentServiceDetails.getCode());
  final PaymentResponse paymentResponse=paymentGatewayAdaptor.parsePaymentResponse(response);
  return paymentResponse;
}

public PaymentResponse createPaymentResponse ( final ServiceDetails paymentServiceDetails , final String response ) { final PaymentGatewayAdaptor paymentGatewayAdaptor = getPaymentGatewayAdaptor ( paymentServiceDetails . getCode ( ) ) ; final PaymentResponse paymentResponse = paymentGatewayAdaptor . parsePaymentResponse ( response ) ; return paymentResponse ; }
this method returns the payment response object for the given response string .
