From 3ed169a06a05332de22aa1e73631127e6ea85417 Mon Sep 17 00:00:00 2001 From: Mohit Bhansali Date: Wed, 13 Dec 2017 11:54:40 +0530 Subject: [PATCH] Changed jsonobjec to object --- src/main/java/io/appsfly/sample/App.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/io/appsfly/sample/App.java b/src/main/java/io/appsfly/sample/App.java index 5377fac..b69df9a 100644 --- a/src/main/java/io/appsfly/sample/App.java +++ b/src/main/java/io/appsfly/sample/App.java @@ -6,17 +6,17 @@ public class App { - public static void main(String args[]){ + public static void main(String args[]) { org.apache.log4j.BasicConfigurator.configure(); AppInstance.AFConfig config = new AppInstance.AFConfig("https://microapps.appsfly.io", "1234567890123456", "92ae2562-aebc-468f-bc9e-aa3cdd9d39b1"); AppInstance clearTrip = new AppInstance(config, "com.cleartrip.msactivities"); - clearTrip.exec("doBooking", new JSONObject() {{ + clearTrip.exec("doBooking", new JSONObject() {{ //Set Params Here // We will take care of checksum }}, new Callback() { @Override - public void onResponse(JSONObject response) { + public void onResponse(Object response) { System.out.println(response); // Payment Done Response // We have already verified the checksum from you