All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.logicommerce.sdk.services.AbandonedCartService Maven / Gradle / Ivy

There is a newer version: 2.1.1
Show newest version
package com.logicommerce.sdk.services;

import com.logicommerce.sdk.models.Cart;

/**
 * Interface to be able to implement the abandoned cart service.

* Convert the abandoned carts to sales by sending timed email
* after they abandoned the shopping cart. * * @author Logicommerce * @since 1.0.18 */ public interface AbandonedCartService extends PluginService { /** *

This method is called when a cart is abandoned.

* * @param cart a {@link com.logicommerce.sdk.models.Cart Cart} object * @see com.logicommerce.sdk.models.Cart Cart * @since 1.0.18 * @throws com.logicommerce.sdk.services.PluginServiceException if any. */ void abandon(Cart cart) throws PluginServiceException; /** *

This method is called when a abandoned cart is recovered.

* * @param cart a {@link com.logicommerce.sdk.models.Cart Cart} object * @see com.logicommerce.sdk.models.Cart Cart * @since 1.0.18 * @throws com.logicommerce.sdk.services.PluginServiceException if any. */ void recover(Cart cart) throws PluginServiceException; /** *

This method is called when a abandoned cart is finally removed.

* * @param cart a {@link com.logicommerce.sdk.models.Cart Cart} object * @see com.logicommerce.sdk.models.Cart Cart * @since 1.0.18 * @throws com.logicommerce.sdk.services.PluginServiceException if any. */ void remove(Cart cart) throws PluginServiceException; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy