Generated by
JDiff

Interface org.cyclos.services.marketplace.OrderService

Documentation changed from old to new.

Added Methods
ShoppingCartDTO adjustAndGetMyCart() Returns the current logged user's shopping cart, adjusting all quantities
OrderData adjustShoppingCartAndGetData(OrderVO) Perform adjustments to the shopping cart quantities and returns the data for it
OrderData getOrderData(OrderVO) Returns data of an order
int removeCartById(Long) Same as .remove(Long) but returning the total count of items present the whole shopping cart
 

Changed Methods
int addToCart(BasicAdVO, BigDecimal) Change in return type from void to int.
Change in signature from (Long, BigDecimal) to (BasicAdVO, BigDecimal).
Documentation changed from old to new.
Adds the given product to the logged user's shopping cart, returning the total count of ads in the cart.
When the given quantity is null, the minimum allowed quantity on the shopping cart for the given product is assumed
ShoppingCartCheckoutResult checkout(ShoppingCartCheckoutParams) Change in return type from Long to ShoppingCartCheckoutResult.
Change in exceptions: org.cyclos.model.banking.TransferException was removed. org.cyclos.model.banking.InsufficientBalanceException was added.
Documentation changed from old to new.
Checks out the logged user's shopping cart with the given seller and currency, checking the confirmation password (if any), and reserving the amount when the delivery price is previously known (otherwise, the buyer still needs to confirm before the payment is done).
ShoppingCartDTO getMyCart() Documentation changed from old to new.
Returns the current logged user's shopping cart, without adjusting any quantity
int modifyQuantityOnCart(BasicAdVO, BigDecimal) Change in return type from void to int.
Change in signature from (Long, BigDecimal) to (BasicAdVO, BigDecimal).
Documentation changed from old to new.
Updates the quantity for the given product on the logged user's shopping cart returning the total count of ads in the cart.
int removeCart(UserLocatorVO, CurrencyVO) Change in return type from void to int.
Documentation changed from old to new.
Removes the logged user's shopping cart for the given seller and currency returning the remaining count of ads in the cart
int removeCartItem(BasicAdVO) Change in return type from void to int.
Change in signature from Long to BasicAdVO.
Documentation changed from old to new.
Removes the given product from the logged user's shopping cart returning the remaining count of ads in the cart.