io.fruitful.ecomerce.service.cart.MagentoCartService Maven / Gradle / Ivy
package io.fruitful.ecomerce.service.cart;
import io.fruitful.ecomerce.commons.MagentoException;
import io.fruitful.ecomerce.dto.*;
import java.util.List;
public interface MagentoCartService {
Boolean magentoRemoveItemsCart(RemoveItemCartRequest request) throws MagentoException;
MagentoCartTotalsResponse magentoGetCartTotals(BaseCustomerTokenRequest request) throws MagentoException;
MagentoCartResponse magentoGetCurrentCart(BaseCustomerTokenRequest request) throws MagentoException;
String createCart(BaseCustomerTokenRequest request) throws MagentoException;
MagentoAddProductToCartResponse magentoAddProductToCart(MagentoAddProductToCartRequest request) throws MagentoException;
MagentoAddProductToCartResponse magentoUpdateProductCart(MagentoAddProductToCartRequest request) throws MagentoException;
List getCountries() throws MagentoException;
MagentoCountryDetail getCountryDetail(String countryId) throws MagentoException;
List estimateShippingMethods(MagentoEstimateShippingRequest request) throws MagentoException;
MagentoShippingInfo getShippingInfo(MagentoShippingInfoRequest request) throws MagentoException;
}