me.figo.internal.StartProviderSyncRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk Show documentation
Show all versions of sdk Show documentation
This SDK eases the development of Java applications and web services consuming the figo connect API.
Figo connect allows developers simple access to users bank data on a trustworthy basis. Users can grant your
application access to certain parts of their bank accounts and you can access them without worrying about the
inner workings of online banking.
The newest version!
package me.figo.internal;
import java.util.List;
import java.util.Map;
import com.google.gson.annotations.Expose;
/**
* Helper type for the call to /rest/sync
*/
public class StartProviderSyncRequest {
public StartProviderSyncRequest(String state, String redirect_uri, boolean disable_notifications,
boolean save_secrets, Map credentials, List scope) {
super();
this.state = state;
this.redirect_uri = redirect_uri;
this.disable_notifications = disable_notifications;
this.save_secrets = save_secrets;
this.credentials = credentials;
this.scope = scope;
}
/**
* State to return when coming back to the calling application after the synchronization finished
*/
@Expose
public String state;
/**
* Defines the scope of the synchronization.
*/
@Expose
public List scope;
/**
* URL to redirect to when the synchronization finished
*/
@Expose
public String redirect_uri;
/**
* Indicates whether notifications should be sent to your application
*/
@Expose
public boolean disable_notifications;
@Expose
public boolean save_secrets;
@Expose
public Map credentials;
public Map getCredentials() {
return credentials;
}
public void setCredentials(Map credentials) {
this.credentials = credentials;
}
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
public String getRedirectUri() {
return redirect_uri;
}
public void setRedirectUri(String redirect_uri) {
this.redirect_uri = redirect_uri;
}
public boolean isDisableNotifications() {
return disable_notifications;
}
public void setDisableNotifications(boolean disable_notifications) {
this.disable_notifications = disable_notifications;
}
public boolean isSaveSecrets() {
return save_secrets;
}
public void setSaveSecrets(boolean save_secrets) {
this.save_secrets = save_secrets;
}
public List getScope() {
return scope;
}
public void setScope(List scope) {
this.scope = scope;
}
}