public class GetSubscriptionMethod extends AbstractFlattrCallable<Subscription>
FlattrCallable
for invoking FlattrService.getSubscription(ThingId)
Constructor and Description |
---|
GetSubscriptionMethod() |
GetSubscriptionMethod(ThingId thingId) |
Modifier and Type | Method and Description |
---|---|
Subscription |
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 GetSubscriptionMethod()
public GetSubscriptionMethod(ThingId thingId)
public ThingId getThingId()
public void setThingId(ThingId thingId)
public Subscription call(FlattrService service) throws Exception
AbstractFlattrCallable
call
in class AbstractFlattrCallable<Subscription>
service
- Preconfigured FlattrService
to be invokedException
Copyright © 2010–2017. All rights reserved.