@ClassPreamble(author="Maksym Novozhylov <mnovozhilov@upwork.com>", date="6/4/2014", currentRevision=1, lastModified="6/4/2014", lastModifiedBy="Maksym Novozhylov", reviewers="Yiota Tsakiri") public final class Accounts extends java.lang.Object
Constructor and Description |
---|
Accounts(OAuthClient client) |
Modifier and Type | Method and Description |
---|---|
JSONObject |
getOwned(java.lang.String freelancerReference,
java.util.HashMap<java.lang.String,java.lang.String> params)
Generate Financial Reports for an owned Account
|
JSONObject |
getSpecific(java.lang.String entityReference,
java.util.HashMap<java.lang.String,java.lang.String> params)
Generate Financial Reports for a Specific Account
|
public Accounts(OAuthClient client)
public JSONObject getOwned(java.lang.String freelancerReference, java.util.HashMap<java.lang.String,java.lang.String> params) throws JSONException
freelancerReference
- Freelancer's referenceparams
- ParametersJSONObject
JSONException
- If error occurredpublic JSONObject getSpecific(java.lang.String entityReference, java.util.HashMap<java.lang.String,java.lang.String> params) throws JSONException
entityReference
- Entity referenceparams
- ParametersJSONObject
JSONException
- If error occurred