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

com.flutterwave.rave.java.entry.validateCardCharge Maven / Gradle / Ivy

There is a newer version: 1.03
Show newest version
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.flutterwave.rave.java.entry;

import com.flutterwave.rave.java.payload.validateCardPayload;
import com.flutterwave.rave.java.service.verificationServices;
import javax.ws.rs.Path;
import org.json.JSONObject;

/**
 *
 * @author cleopatradouglas
 */
public class validateCardCharge {
    
    public String doflwcardvalidate(validateCardPayload validatecardpayload){
        
       // validatecardpayload.setPBFPubKey(raveConfig.PUBLIC_KEY);
        
         String payload = new JSONObject(validatecardpayload).toString();
        //System.out.println("payload is ===>" + payload);
        
        verificationServices verificationservices = new verificationServices();
        String response = verificationservices.docardvalidate(payload, validatecardpayload);
        
        return response;
    }
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy