@@ -0,0 +1,2909 @@
+import org.json.JSONObject;%0A%0Aimport java.util.HashMap;%0A%0A/**%0A * Created by Iyanu Adelekan on 19/07/2016.%0A */%0Apublic class PaystackInline %7B%0A    public PaystackInline()%7B%0A%0A    %7D%0A    private static ApiConnection apiConnection = null;%0A%0A    /*%0A    The following set of methods aids the sending of API%0A    requests for Paystack Standard%0A     */%0A%0A    public JSONObject paystackStandard(HashMap%3CString, Object%3E queryMap)  %7B%0A        apiConnection = new ApiConnection(Definitions.PAYSTACK_INLINE_PAYSTACK_STANDARD);%0A        return apiConnection.connectAndQuery(queryMap);%0A    %7D%0A%0A    public JSONObject paystackStandard(ApiQuery query)  %7B%0A        apiConnection = new ApiConnection(Definitions.PAYSTACK_INLINE_PAYSTACK_STANDARD);%0A        return apiConnection.connectAndQuery(query);%0A    %7D%0A%0A    public JSONObject paystackStandard(String reference, int amount,%0A                                 String email, String plan, String callback_url)  %7B%0A        apiConnection = new ApiConnection(Definitions.PAYSTACK_INLINE_PAYSTACK_STANDARD);%0A        ApiQuery apiQuery = new ApiQuery();%0A        apiQuery.putParams(%22reference%22, reference);%0A        apiQuery.putParams(%22amount%22, amount);%0A        apiQuery.putParams(%22email%22, email);%0A        apiQuery.putParams(%22plan%22, plan);%0A        apiQuery.putParams(%22callback_url%22, callback_url);%0A        return apiConnection.connectAndQuery(apiQuery);%0A    %7D%0A%0A    /*%0A    The following set of methods aids the sending of API%0A    requests for  VERIFYING Paystack Standard transactions%0A     */%0A%0A    public JSONObject verifyTransactions(String reference)  %7B%0A        apiConnection = new ApiConnection(Definitions.PAYSTACK_INLINE_VERIFY_TRANSACTIONS + reference);%0A        return apiConnection.connectAndQueryWithGet();%0A    %7D%0A%0A    /*%0A    The following set of methods aids the sending of API%0A    requests for charging returning customers with Paystack Standard%0A     */%0A%0A    public JSONObject chargeReturningCustomer(HashMap%3CString, Object%3E queryMap)  %7B%0A        apiConnection = new ApiConnection(Definitions.PAYSTACK_INLINE_CHARGE_AUTHORIZATION);%0A        return apiConnection.connectAndQuery(queryMap);%0A    %7D%0A%0A    public JSONObject chargeReturningCustomer(ApiQuery query)  %7B%0A        apiConnection = new ApiConnection(Definitions.PAYSTACK_INLINE_CHARGE_AUTHORIZATION);%0A        return apiConnection.connectAndQuery(query);%0A    %7D%0A%0A    public JSONObject chargeReturningCustomer(String authorization_code, String email,%0A                                              String amount, String reference)  %7B%0A        apiConnection = new ApiConnection(Definitions.PAYSTACK_INLINE_CHARGE_AUTHORIZATION);%0A        ApiQuery apiQuery = new ApiQuery();%0A        apiQuery.putParams(%22authorization_code%22, authorization_code);%0A        apiQuery.putParams(%22email%22, email);%0A        apiQuery.putParams(%22amount%22, amount);%0A        apiQuery.putParams(%22reference%22, reference);%0A        return apiConnection.connectAndQuery(apiQuery);%0A    %7D%0A%0A%7D%0A

Create PaystackInline.java