public class PauseSubscriptionMethod extends VoidFlattrCallable
Constructor and Description |
---|
PauseSubscriptionMethod() |
PauseSubscriptionMethod(ThingId thingId,
boolean paused) |
Modifier and Type | Method and Description |
---|---|
void |
execute(FlattrService service)
Calls the appropriate method at the service.
|
ThingId |
getThingId() |
boolean |
isPaused() |
void |
setPaused(boolean paused) |
void |
setThingId(ThingId thingId) |
call
call, createFlattrService, getRateLimit, getResult, isFullMode, setAccessToken, setAccessToken, setFullMode
public PauseSubscriptionMethod()
public PauseSubscriptionMethod(ThingId thingId, boolean paused)
public ThingId getThingId()
public void setThingId(ThingId thingId)
public boolean isPaused()
public void setPaused(boolean paused)
public void execute(FlattrService service) throws Exception
VoidFlattrCallable
execute
in class VoidFlattrCallable
service
- Preconfigured FlattrService
to be invokedException
Copyright © 2010–2017. All rights reserved.