|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hoiio.sdk.services.HttpService
com.hoiio.sdk.services.AccountService
public class AccountService
The Account API will allow developers to check their credit balances and other account information.
For more info please refer to: http://developer.hoiio.com/docs/account.html
Constructor Summary | |
---|---|
AccountService(String appId,
String accessToken)
Constructs the service to make all Account requests |
Method Summary | |
---|---|
Account |
fetchAccount()
Retrieves the general information of your account. |
Balance |
fetchBalance()
Retrieves the current credit balance of your account |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AccountService(String appId, String accessToken)
appId
- AppID of the developeraccessToken
- AccessToken of the developerMethod Detail |
---|
public Account fetchAccount() throws HoiioException
HoiioException
public Balance fetchBalance() throws HoiioException
HoiioException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |