@Override
 public String readResponseError(HttpURLConnection httpURLConnection) throws IOException {
   if (mOnVendorProfileBrowseListener != null) {
     mOnVendorProfileBrowseListener.onError();
   }
   return null;
 }
 @Override
 public void readResponseBody(HttpURLConnection httpURLConnection)
     throws IOException, JSONException {
   if (mOnVendorProfileBrowseListener != null) {
     VendorProfileBase vendorProfile = null;
     if (mIsNewUserAPI) {
       vendorProfile =
           new NewVendorProfile(new JSONObject(readResponseBodyAsString(httpURLConnection)));
     } else {
       vendorProfile =
           new OldVendorProfile(new JSONObject(readResponseBodyAsString(httpURLConnection)));
     }
     VendorProfileBase vendor =
         VendorProfileBase.getVendorProfileBySQL(vendorProfile.getVendorProfileId());
     if (vendor == null) {
       vendorProfile.save();
     }
     mOnVendorProfileBrowseListener.onSuccess(vendorProfile);
   }
 }