Subversion Repositories SmartDukaan

Rev

Rev 27486 | Rev 27503 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 27486 Rev 27487
Line 1106... Line 1106...
1106
		geometry.put("geometry", geo);
1106
		geometry.put("geometry", geo);
1107
		JSONObject metadata = new JSONObject();
1107
		JSONObject metadata = new JSONObject();
1108
		metadata.put("name", "SMARTDUKAAN HO");
1108
		metadata.put("name", "SMARTDUKAAN HO");
1109
		// metadata.put("city", customRetailer.getAddress().getCity());
1109
		// metadata.put("city", customRetailer.getAddress().getCity());
1110
		// metadata.put("Code", customRetailer.getCode());
1110
		// metadata.put("Code", customRetailer.getCode());
1111
		// geometry.put("metadata", metadata);
1111
		geometry.put("metadata", metadata);
1112
		geometry.put("radius", 200);
1112
		geometry.put("radius", 200);
1113
 
1113
 
1114
		geofences.put(geometry);
1114
		geofences.put(geometry);
1115
		geofe.put("geofences", geofences);
1115
		geofe.put("geofences", geofences);
1116
		okhttp3.RequestBody body = okhttp3.RequestBody.create(mediaType, geofe.toString());
1116
		okhttp3.RequestBody body = okhttp3.RequestBody.create(mediaType, geofe.toString());