![JAR search and dependency download from the Maven repository](/logo.png)
com.logicommerce.sdk.services.ContactService 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.services;
import com.logicommerce.sdk.models.Product;
/**
* Interface to be able to implement the contact service.
* The methods called when user contact send or product information contact send.
*
* @author Logicommerce
* @since 1.1.11
*/
public interface ContactService extends PluginService {
/**
* SendContact.
When user send contact message
*
* @throws com.logicommerce.sdk.services.PluginServiceException if any.
*/
void contactUser() throws PluginServiceException;
/**
* SendProduct.
When user send contact product information message
*
* @param product a {@link com.logicommerce.sdk.models.Product} object
* @throws com.logicommerce.sdk.services.PluginServiceException if any.
*/
void contactProduct(Product product) throws PluginServiceException;
/**
* RecommendProduct.
When user send recommend product to other contact
*
* @param product a {@link com.logicommerce.sdk.models.Product} object
* @throws com.logicommerce.sdk.services.PluginServiceException if any.
*/
void recommendProduct(Product product) throws PluginServiceException;
/**
* subscribeNotification.
When user subscribe to a newsLetter, for notification event.
*
* @throws com.logicommerce.sdk.services.PluginServiceException if any.
*/
void subscribeNotification() throws PluginServiceException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy