public interface

MagentoShoppingCartClient

org.mule.module.magento.api.shoppingCart.MagentoShoppingCartClient<AttributesType, AttributesCollectionType, ExceptionType extends java.lang.Exception>
Known Indirect Subclasses

Summary

Public Methods
abstract boolean addShoppingCartCoupon(int quoteId, String couponCode, String storeId)
abstract boolean addShoppingCartProduct(int quoteId, List<Map<String, Object>> productsAttributes, List<Map<String, Object>> productsOptions, List<Map<String, Object>> productsBundleOptions, List<Map<String, Object>> productsBundleOptionsQty, String storeId)
abstract int createShoppingCart(String storeId)
abstract String createShoppingCartOrder(int quoteId, String storeId, List<String> licenses)
abstract AttributesType getShoppingCartInfo(int quoteId, String storeId)
abstract AttributesCollectionType listShoppingCartLicenses(int quoteId, String storeId)
abstract AttributesType listShoppingCartPaymentMethods(int quoteId, String storeId)
abstract AttributesCollectionType listShoppingCartProducts(int quoteId, String storeId)
abstract AttributesCollectionType listShoppingCartShippingMethods(int quoteId, String storeId)
abstract AttributesCollectionType listShoppingCartTotals(int quoteId, String storeId)
abstract boolean moveShoppingCartProductToCustomerQuote(int quoteId, List<Map<String, Object>> productsAttributes, List<Map<String, Object>> productsOptions, List<Map<String, Object>> productsBundleOptions, List<Map<String, Object>> productsBundleOptionsQty, String storeId)
abstract boolean removeShoppingCartCoupon(int quoteId, String storeId)
abstract boolean removeShoppingCartProduct(int quoteId, List<Map<String, Object>> productsAttributes, List<Map<String, Object>> productsOptions, List<Map<String, Object>> productsBundleOptions, List<Map<String, Object>> productsBundleOptionsQty, String storeId)
abstract boolean setShoppingCartCustomer(int quoteId, Map<String, Object> customer, String storeId)
abstract boolean setShoppingCartCustomerAddresses(int quoteId, List<Map<String, Object>> addresses, String storeId)
abstract boolean setShoppingCartPaymentMethod(int quoteId, Map<String, Object> method, String storeId)
abstract boolean setShoppingCartShippingMethod(int quoteId, String method, String storeId)
abstract boolean updateShoppingCartProduct(int quoteId, List<Map<String, Object>> productsAttributes, List<Map<String, Object>> productsOptions, List<Map<String, Object>> productsBundleOptions, List<Map<String, Object>> productsBundleOptionsQty, String storeId)

Public Methods

public abstract boolean addShoppingCartCoupon (int quoteId, String couponCode, String storeId)

Parameters
quoteId
couponCode
storeId
Throws
Exception

public abstract boolean addShoppingCartProduct (int quoteId, List<Map<String, Object>> productsAttributes, List<Map<String, Object>> productsOptions, List<Map<String, Object>> productsBundleOptions, List<Map<String, Object>> productsBundleOptionsQty, String storeId)

Parameters
quoteId
productsAttributes
productsOptions
productsBundleOptions
productsBundleOptionsQty
storeId
Throws
Exception

public abstract int createShoppingCart (String storeId)

Parameters
storeId
Throws
Exception

public abstract String createShoppingCartOrder (int quoteId, String storeId, List<String> licenses)

Parameters
quoteId
storeId
licenses
Throws
Exception

public abstract AttributesType getShoppingCartInfo (int quoteId, String storeId)

Parameters
quoteId
storeId
Throws
Exception

public abstract AttributesCollectionType listShoppingCartLicenses (int quoteId, String storeId)

Parameters
quoteId
storeId
Throws
Exception

public abstract AttributesType listShoppingCartPaymentMethods (int quoteId, String storeId)

Parameters
quoteId
storeId
Throws
Exception

public abstract AttributesCollectionType listShoppingCartProducts (int quoteId, String storeId)

Parameters
quoteId
storeId
Throws
Exception

public abstract AttributesCollectionType listShoppingCartShippingMethods (int quoteId, String storeId)

Parameters
quoteId
storeId
Throws
Exception

public abstract AttributesCollectionType listShoppingCartTotals (int quoteId, String storeId)

Parameters
quoteId
storeId
Throws
Exception

public abstract boolean moveShoppingCartProductToCustomerQuote (int quoteId, List<Map<String, Object>> productsAttributes, List<Map<String, Object>> productsOptions, List<Map<String, Object>> productsBundleOptions, List<Map<String, Object>> productsBundleOptionsQty, String storeId)

Parameters
quoteId
productsAttributes
productsOptions
productsBundleOptions
productsBundleOptionsQty
storeId
Throws
Exception

public abstract boolean removeShoppingCartCoupon (int quoteId, String storeId)

Parameters
quoteId
storeId
Throws
Exception

public abstract boolean removeShoppingCartProduct (int quoteId, List<Map<String, Object>> productsAttributes, List<Map<String, Object>> productsOptions, List<Map<String, Object>> productsBundleOptions, List<Map<String, Object>> productsBundleOptionsQty, String storeId)

Parameters
quoteId
productsAttributes
productsOptions
productsBundleOptions
productsBundleOptionsQty
storeId
Throws
Exception

public abstract boolean setShoppingCartCustomer (int quoteId, Map<String, Object> customer, String storeId)

Parameters
quoteId
customer
storeId
Throws
Exception

public abstract boolean setShoppingCartCustomerAddresses (int quoteId, List<Map<String, Object>> addresses, String storeId)

Parameters
quoteId
addresses
storeId
Throws
Exception

public abstract boolean setShoppingCartPaymentMethod (int quoteId, Map<String, Object> method, String storeId)

Parameters
quoteId
method
storeId
Throws
Exception

public abstract boolean setShoppingCartShippingMethod (int quoteId, String method, String storeId)

Parameters
quoteId
method
storeId
Throws
Exception

public abstract boolean updateShoppingCartProduct (int quoteId, List<Map<String, Object>> productsAttributes, List<Map<String, Object>> productsOptions, List<Map<String, Object>> productsBundleOptions, List<Map<String, Object>> productsBundleOptionsQty, String storeId)

Parameters
quoteId
productsAttributes
productsOptions
productsBundleOptions
productsBundleOptionsQty
storeId
Throws
Exception