Skip to content

Commit

Permalink
Changed jsonobjec to object
Browse files Browse the repository at this point in the history
  • Loading branch information
mohit-appsfly committed Dec 13, 2017
1 parent ce882b7 commit 3ed169a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/io/appsfly/sample/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3ed169a

Please sign in to comment.