/* * (non-Javadoc) * @see com.dfc.moneymartus.business.DataObject#setJSONValues(java.lang.String) */ @Override public void setJSONValues(String values) { Gson gson = new Gson(); CCServicesDataObject custService = gson.fromJson(values, CCServicesDataObject.class); Constants.setCCServiceObj(custService); mViewCallback.onCCServiceSuccess(custService); }
@Override public void onResponseFailure(VolleyError error) { mViewCallback.onCCServiceFailure(error, getEventType()); }