package com.popebp.bitcoin.exchange.btce;

public class BTCe {
	public static final String API_URL = "https://btc-e.com/tapi";
	private String apiKey = null;
	private String apiSecret = null;
	
	/*
	 * Needs
	 *  o Method that builds the QueryParams and signs
	 *  o Method that builds the Headers
	 *  o Method that takes in api path, query params, headers and makes request (returns JSONObject)
	 *  o ResultFactory that builds each result type
	 */
	
	
	public BTCe(String key, String secret) {
		this.apiKey = key;
		this.apiSecret = secret;
	}
	
	public Result getInfo() {
		return new GetInfoResult();
	}
	
	public Result getTransactionHistory(Parameters params) {
		return new TransactionHistoryResult();
	}
	
	public Result getTradeHistory(Parameters params) {
		return new TradeHistoryResult();
	}
	
	public Result getActiveOrders(Parameters params) {
		return new ActiveOrdersResult();
	}
	
	public Result doTrade(Parameters params) {
		return new TradeResult();
	}
	
	public Result doCancelOrder(Parameters params) {
		return new CancelOrderResult();
	}
}

package com.popebp.bitcoin.exchange.btce;

import org.json.JSONObject;

public class BTCe {
	public static final String API_URL = "https://btc-e.com/tapi";
	private String apiKey = null;
	private String apiSecret = null;
	
	/*
	 * Needs
	 *  o Method that builds the QueryParams and signs
	 *  o Method that builds the Headers
	 *  o Method that takes in api path, query params, headers and makes request (returns JSONObject)
	 *  o ResultFactory that builds each result type
	 */
	
	public BTCe(String key, String secret) {
		this.apiKey = key;
		this.apiSecret = secret;
	}
	
	private JSONObject doRequest() {
		// TODO: This will make the request, based on the endpoint
		
		return null;
	}
	
	public Result getInfo() {
		return new GetInfoResult();
	}
	
	public Result getTransactionHistory(Parameters params) {
		return new TransactionHistoryResult();
	}
	
	public Result getTradeHistory(Parameters params) {
		return new TradeHistoryResult();
	}
	
	public Result getActiveOrders(Parameters params) {
		return new ActiveOrdersResult();
	}
	
	public Result doTrade(Parameters params) {
		return new TradeResult();
	}
	
	public Result doCancelOrder(Parameters params) {
		return new CancelOrderResult();
	}
}

Add in doRequest for the TradeApi
Add in doRequest for the TradeApi

Currently this code is absolutely useless. Just returns null