public class Category extends Resource implements CategoryId
Category are considered
equal if they contain the same id.| Constructor and Description |
|---|
Category(FlattrObject data) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCategoryId()
Category id to be used with Flattr.
|
String |
getName()
Category name to be used for humans.
|
int |
hashCode() |
static CategoryId |
withId(String id)
Returns a
CategoryId for the given Category id. |
toFlattrObject, toJSONpublic Category(FlattrObject data)
public static CategoryId withId(String id)
CategoryId for the given Category id.id - Category idCategoryId object for this idpublic String getCategoryId()
getCategoryId in interface CategoryIdCopyright © 2010-2013. All Rights Reserved.