public class Wishlist extends BusinessEntity
| Modifier and Type | Class and Description |
|---|---|
static class |
Wishlist.Columns
A utility class that contains various strings to be used as keys to communicate with the
remote server.
|
| Constructor and Description |
|---|
Wishlist(org.json.JSONObject jsonObject)
Wishlist's constructor.
|
Wishlist(java.lang.String json)
Wishlist's constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Itinerary |
getItinerary()
Get the wishlist's itinerary.
|
User |
getUser()
Get the wishlist's user.
|
protected void |
loadFromJSONObject(org.json.JSONObject jsonObject)
Set the BusinessEntity's properties loading them from a JSONObject.
|
org.json.JSONObject |
toJSONObject()
Convert a BusinessEntity to JSONObject.
|
getJSONObject, toStringpublic Wishlist(org.json.JSONObject jsonObject)
jsonObject - The JSONObject.public Wishlist(java.lang.String json)
json - The json string.protected void loadFromJSONObject(org.json.JSONObject jsonObject)
BusinessEntityloadFromJSONObject in class BusinessEntityjsonObject - The JSONObject.BusinessEntity.loadFromJSONObject(JSONObject)public User getUser()
public Itinerary getItinerary()
public org.json.JSONObject toJSONObject()
BusinessEntitytoJSONObject in class BusinessEntityBusinessEntity.toJSONObject()