public class SyncTokenRequest extends Object
| Modifier and Type | Field and Description |
|---|---|
List<String> |
account_ids
Accounts to sync
|
boolean |
auto_continue
Should the sync process continue on errors without asking for response
|
boolean |
disable_notifications
Indicates whether notifications should be sent to your application
|
int |
if_not_synced_since
Sync accounts only which have not been synchronized within the specified number of minutes
|
String |
redirect_uri
URL to redirect to when the synchronization finished
|
boolean |
save_pin
optional flag to save pin for auto sync
|
String |
state
State to return when coming back to the calling application after the synchronization finished
|
List<String> |
sync_tasks
Tasks to sync
|
| Constructor and Description |
|---|
SyncTokenRequest(String state,
String redirect_uri) |
SyncTokenRequest(String state,
String redirect_uri,
List<String> sync_tasks) |
SyncTokenRequest(String state,
String redirect_uri,
List<String> sync_tasks,
List<String> account_ids) |
SyncTokenRequest(String state,
String redirect_uri,
List<String> sync_tasks,
List<String> account_ids,
boolean disable_notifications,
int if_not_synced_since,
boolean auto_continue) |
SyncTokenRequest(String state,
String redirect_uri,
List<String> sync_tasks,
List<String> account_ids,
boolean disable_notifications,
int if_not_synced_since,
boolean auto_continue,
boolean save_pin) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAccountIds() |
int |
getIfNotSyncedSince() |
String |
getRedirectUri() |
String |
getState() |
List<String> |
getSyncTasks() |
boolean |
isAutoContinue() |
boolean |
isDisableNotifications() |
boolean |
isSavePin() |
void |
setAccountIds(List<String> account_ids) |
void |
setAutoContinue(boolean auto_continue) |
void |
setDisableNotifications(boolean disable_notifications) |
void |
setIfNotSyncedSince(int if_not_synced_since) |
void |
setRedirectUri(String redirect_uri) |
void |
setSavePin(boolean save_pin) |
void |
setState(String state) |
void |
setSyncTasks(List<String> sync_tasks) |
public String state
public String redirect_uri
public boolean disable_notifications
public int if_not_synced_since
public boolean auto_continue
public boolean save_pin
public SyncTokenRequest(String state, String redirect_uri)
state - redirect_uri - public SyncTokenRequest(String state, String redirect_uri, List<String> sync_tasks)
state - redirect_uri - sync_tasks - public SyncTokenRequest(String state, String redirect_uri, List<String> sync_tasks, List<String> account_ids)
state - redirect_uri - sync_tasks - account_ids - public SyncTokenRequest(String state, String redirect_uri, List<String> sync_tasks, List<String> account_ids, boolean disable_notifications, int if_not_synced_since, boolean auto_continue)
state - redirect_uri - sync_tasks - account_ids - disable_notifications - if_not_synced_since - auto_continue - public String getState()
public void setState(String state)
public String getRedirectUri()
public void setRedirectUri(String redirect_uri)
public boolean isDisableNotifications()
public void setDisableNotifications(boolean disable_notifications)
public int getIfNotSyncedSince()
public void setIfNotSyncedSince(int if_not_synced_since)
public boolean isAutoContinue()
public void setAutoContinue(boolean auto_continue)
public boolean isSavePin()
public void setSavePin(boolean save_pin)
Copyright © 2018 figo GmbH. All rights reserved.