public class ToggleSubscriptionMethod extends AbstractFlattrCallable<Boolean>
FlattrCallable for invoking FlattrService.toggleSubscription(ThingId)| Constructor and Description |
|---|
ToggleSubscriptionMethod() |
ToggleSubscriptionMethod(ThingId thingId) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
call(FlattrService service)
Calls the appropriate method at the service and returns the result.
|
ThingId |
getThingId() |
void |
setThingId(ThingId thingId) |
call, createFlattrService, getRateLimit, getResult, isFullMode, setAccessToken, setAccessToken, setFullModepublic ToggleSubscriptionMethod()
public ToggleSubscriptionMethod(ThingId thingId)
public ThingId getThingId()
public void setThingId(ThingId thingId)
public Boolean call(FlattrService service) throws Exception
AbstractFlattrCallablecall in class AbstractFlattrCallable<Boolean>service - Preconfigured FlattrService to be invokedExceptionCopyright © 2010–2017. All rights reserved.