com.fitbit.api.common.model.foods
Class NutritionalValues
java.lang.Object
com.fitbit.api.common.model.foods.NutritionalValues
- Direct Known Subclasses:
- FoodsSummary
public class NutritionalValues
- extends Object
User: gkutlu
Date: Sep 17, 2010
Time: 1:41:26 PM
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NutritionalValues
public NutritionalValues(int calories,
double fat,
double fiber,
double carbs,
double sodium,
double protein)
NutritionalValues
public NutritionalValues(org.json.JSONObject json)
throws org.json.JSONException
- Throws:
org.json.JSONException
getCalories
public int getCalories()
getFat
public double getFat()
getFiber
public double getFiber()
getCarbs
public double getCarbs()
getSodium
public double getSodium()
getProtein
public double getProtein()
Copyright © 2012. All Rights Reserved.