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

com.paymentwall.java.response.Secure 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;

/**
 * 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