com.logicommerce.sdk.definition.PluginActionDefinition 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
SDK for developing Logicommerce plugins.
package com.logicommerce.sdk.definition;
import com.logicommerce.sdk.enums.ConnectorType;
/**
* PluginActionDefinition interface.
*
* @author Logicommerce
* @since 1.3.4
*/
public interface PluginActionDefinition {
/**
* getCode.
*
* @return a {@link java.lang.String} object
*/
String getCode();
/**
* getName.
*
* @return a {@link com.logicommerce.sdk.definition.DefinitionLanguages} object
*/
DefinitionLanguages getName();
/**
* getDescription.
*
* @return a {@link com.logicommerce.sdk.definition.DefinitionLanguages} object
*/
DefinitionLanguages getDescription();
/**
* isActive.
*
* @return a boolean
*/
boolean isActive();
/**
* setActive.
*
* @param active a boolean
*/
void setActive(boolean active);
/**
* getConnectorType.
*
* @since 1.3.6
* @return a {@link com.logicommerce.sdk.enums.ConnectorType} object
*/
ConnectorType getConnectorType();
/**
* setConnectorType.
*
* @since 1.3.6
* @param connectorType a {@link com.logicommerce.sdk.enums.ConnectorType} object
*/
void setConnectorType(ConnectorType connectorType);
}