public class Subscription extends Resource implements ThingId
This class is not threadsafe.
Constructor and Description |
---|
Subscription(FlattrObject data) |
Modifier and Type | Method and Description |
---|---|
Date |
getCreated()
Creation date of the subscription.
|
Date |
getStarted()
Starting date of the subscription.
|
Thing |
getThing()
The thing that was flattred.
|
String |
getThingId()
Returns the Thing's ID.
|
boolean |
isActive()
true if the subscription is currently active, false if it is
paused. |
toFlattrObject, toJSON
public Subscription(FlattrObject data)
public String getThingId()
ThingId
getThingId
in interface ThingId
public Date getCreated()
public Date getStarted()
public boolean isActive()
true
if the subscription is currently active, false
if it is
paused.Copyright © 2010–2017. All rights reserved.