com.logicommerce.sdk.services.queues.OrderQueueProcessorService 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.queues;
import java.util.Set;
import com.logicommerce.sdk.models.order.Order;
import com.logicommerce.sdk.models.queues.Attribute;
import com.logicommerce.sdk.services.PluginServiceException;
/**
* Service to process order queue messages
*
* @author LogiCommerce
* @since 1.2.0
*/
public interface OrderQueueProcessorService extends QueueProcessorService {
/**
* Process the order queue message
*
* @param action a {@link String} object
* @param attributes a {@link Set}<{@link Attribute}> object
* @param order a {@link Order} object
*
* @throws PluginServiceException if an error occurs
*/
void process(String action, Set attributes, Order order) throws PluginServiceException;
}