// Path: src/main/java/com/gengo/client/exceptions/GengoException.java
// @SuppressWarnings("serial")
// /**
//  * Encapsulates all exceptions thrown by the API 
//  */
// public class GengoException extends Exception
// {
// 	public GengoException(String e)
// 	{
// 		super(e);
// 	}
// 	
// 	public GengoException(String msg, Throwable cause)
// 	{
// 		super(msg, cause);
// 	}
// 	
// }


import org.json.JSONObject;
import com.gengo.client.exceptions.GengoException;
package com.gengo.client.payloads;



public abstract class Payload
{

    /**
     * Create a JSONObject representing this payload object
     * @return the JSONObject created
     * @throws GengoException
     */
// Path: src/main/java/com/gengo/client/exceptions/GengoException.java
// @SuppressWarnings("serial")
// /**
//  * Encapsulates all exceptions thrown by the API 
//  */
// public class GengoException extends Exception
// {
// 	public GengoException(String e)
// 	{
// 		super(e);
// 	}
// 	
// 	public GengoException(String msg, Throwable cause)
// 	{
// 		super(msg, cause);
// 	}
// 	
// }


// Path: src/main/java/com/gengo/client/payloads/Payload.java
import org.json.JSONObject;
import com.gengo.client.exceptions.GengoException;

package com.gengo.client.payloads;



public abstract class Payload
{

    /**
     * Create a JSONObject representing this payload object
     * @return the JSONObject created
     * @throws GengoException
     */
    public abstract JSONObject toJSONObject() throws GengoException;