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, setFullMode
public ToggleSubscriptionMethod()
public ToggleSubscriptionMethod(ThingId thingId)
public ThingId getThingId()
public void setThingId(ThingId thingId)
public Boolean call(FlattrService service) throws Exception
AbstractFlattrCallable
call
in class AbstractFlattrCallable<Boolean>
service
- Preconfigured FlattrService
to be invokedException
Copyright © 2010–2017. All rights reserved.