jadex.webservice.examples.rs.banking.IBankingService Maven / Gradle / Ivy
package jadex.webservice.examples.rs.banking;
import java.util.Date;
import jadex.commons.future.IFuture;
import jadex.commons.future.IIntermediateFuture;
/**
* The Jadex asynchronous banking service.
*/
public interface IBankingService
{
/**
* Get the account statement.
* @param request The request.
* @return The account statement.
*/
public IFuture getAccountStatement(Date begin, Date end);
/**
* Get all account statements.
* @return The account statements.
*/
public IFuture getAccountStatement();
/**
* Get the account statement.
* @param request The request.
* @return The account statement.
*/
public IFuture getAccountStatement(Request request);
/**
* Subscribe for account statements.
* @return Account statements whenever available.
*/
public IIntermediateFuture subscribeForAccountStatements(long delay, int max);
/**
* Add an account statement.
* @param data The data.
*/
public IFuture addTransactionData(String data);
/**
* Remove an account statement.
* @param data The data.
*/
public IFuture removeTransactionData(String data);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy