@Override
  public void onResponseReceived(Map<String, Object> response) {
    // TODO Auto-generated method stub
    // TODO Auto-generated method stub
    IGCreateBookingForPaymentResponseBean respBean = new IGCreateBookingForPaymentResponseBean();

    if (response != null && response.containsKey(IGApiConstants.kSuccessMsgKey)) {
      respBean =
          (IGCreateBookingForPaymentResponseBean) response.get(IGApiConstants.kSuccessMsgKey);

      if (respBean != null) {
        _listener.createBookingForPaymentCompleted(respBean);
        return;
      }

      this._excptnListener.onNullResponseRecieved();
    } else if (response.containsKey(IGApiConstants.kApiFailedMsgKey)) {

      respBean =
          (IGCreateBookingForPaymentResponseBean) response.get(IGApiConstants.kApiFailedMsgKey);
      if (respBean != null) {
        _listener.createBookingForPaymentFailed(
            respBean.getResponseMessages().errorMessagesToString());
      }
    }
  }
  @Override
  public void onFailedToGetResponse(Map<String, Object> errorResponse) {
    // TODO Auto-generated method stub
    IGCreateBookingForPaymentResponseBean respBean;
    respBean =
        (IGCreateBookingForPaymentResponseBean) errorResponse.get(IGApiConstants.kApiFailedMsgKey);
    if (respBean != null) {
      _listener.createBookingForPaymentFailed(
          respBean.getResponseMessages().errorMessagesToString());
    } else {

      this._excptnListener.onNullResponseRecieved();
    }
  }