
com.paymentwall.java.response.Success 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;
public class Success extends Abstract implements Interface {
public Success(JSONObject response) { super(response); }
public JSONObject process() {
if (response.isEmpty())
return wrapInternalError();
// response = new JSONObject();
response.put(PROP_SUCCESS, 1);
return response;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy