xtendm3-sdk.0.15.0.source-code.TransactionAPI Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xtendm3-sdk Show documentation
Show all versions of xtendm3-sdk Show documentation
XtendM3 SDK for developing XtendM3 Extensions locally
import java.util.Map;
/**
* API for extending MI transactions
* @since API Version 0.12.0
*/
public interface TransactionAPI {
/**
* Get transaction parameters
* @return transaction parameters
* @since API Version 0.12.0
*/
Map getParameters();
/**
* Abort the current transaction
* @param field Error Field
* @param messageId Error message ID
* @param data Error message data
* @since API Version 0.12.0
*/
void abortTransaction(String field, String messageId, String data);
}