|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hoiio.sdk.objects.HoiioResponse
com.hoiio.sdk.objects.account.Balance
public class Balance
Constructor Summary | |
---|---|
Balance(net.sf.json.JSONObject output)
Constructs a new Balance object by decoding the JSONObject as a response from the HTTP Request |
Method Summary | |
---|---|
double |
getBalance()
Gets the total balance of this account |
double |
getBonus()
Gets the Bonus Points credit balance of this account |
Currency |
getCurrency()
Gets the currency used for this account |
double |
getPoints()
Gets the Hoiio Points credit balance of this account |
Methods inherited from class com.hoiio.sdk.objects.HoiioResponse |
---|
getContent |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Balance(net.sf.json.JSONObject output)
Balance
object by decoding the JSONObject
as a response from the HTTP Request
output
- The response of the HTTP RequestMethod Detail |
---|
public double getBalance()
public double getBonus()
public Currency getCurrency()
public double getPoints()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |