All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.paymentwall.java.response.Success Maven / Gradle / Ivy

Go to download

This library allows developers to use Paymentwall APIs (Virtual Currency, Digital Goods featuring recurring billing, and Virtual Cart).

There is a newer version: 2.0.4
Show newest version
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