Skip to content

Commit 3ed169a

Browse files
committed
Changed jsonobjec to object
1 parent ce882b7 commit 3ed169a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/io/appsfly/sample/App.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66

77
public class App {
88

9-
public static void main(String args[]){
9+
public static void main(String args[]) {
1010
org.apache.log4j.BasicConfigurator.configure();
1111

1212
AppInstance.AFConfig config = new AppInstance.AFConfig("https://microapps.appsfly.io", "1234567890123456", "92ae2562-aebc-468f-bc9e-aa3cdd9d39b1");
1313
AppInstance clearTrip = new AppInstance(config, "com.cleartrip.msactivities");
14-
clearTrip.exec("doBooking", new JSONObject() {{
14+
clearTrip.exec("doBooking", new JSONObject() {{
1515
//Set Params Here
1616
// We will take care of checksum
1717
}}, new Callback() {
1818
@Override
19-
public void onResponse(JSONObject response) {
19+
public void onResponse(Object response) {
2020
System.out.println(response);
2121
// Payment Done Response
2222
// We have already verified the checksum from you

0 commit comments

Comments
 (0)