
com.paymentwall.java.response.Secure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of paymentwall-java Show documentation
Show all versions of paymentwall-java Show documentation
This library allows developers to use Paymentwall APIs (Virtual Currency, Digital Goods featuring recurring billing, and Virtual Cart).
package com.paymentwall.java.response;
import org.json.simple.JSONObject;
/**
* Created by hoahieu on 12/01/17.
*/
public class Secure extends Abstract implements Interface {
public Secure(JSONObject response) {
super(response);
}
public JSONObject process() {
if(response.isEmpty() || !response.containsKey(PROP_SECURE)) return wrapInternalError();
response.put(PROP_SUCCESS, 0);
return response;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy