Class ShoppingCartServices


  • public class ShoppingCartServices
    extends java.lang.Object
    Shopping Cart Services
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.math.MathContext generalRounding  
      static java.lang.String module  
      static java.lang.String resource_error  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Map<java.lang.String,​java.lang.Object> assignItemShipGroup​(DispatchContext dctx, java.util.Map<java.lang.String,​java.lang.Object> context)  
      static java.util.Map<java.lang.String,​java.lang.Object> getShoppingCartData​(DispatchContext dctx, java.util.Map<java.lang.String,​java.lang.Object> context)  
      static java.util.Map<java.lang.String,​java.lang.Object> getShoppingCartItemIndex​(DispatchContext dctx, java.util.Map<java.lang.String,​java.lang.Object> context)  
      static java.util.Map<java.lang.String,​java.lang.Object> loadCartFromOrder​(DispatchContext dctx, java.util.Map<java.lang.String,​java.lang.Object> context)  
      static java.util.Map<java.lang.String,​java.lang.Object> loadCartFromQuote​(DispatchContext dctx, java.util.Map<java.lang.String,​java.lang.Object> context)  
      static java.util.Map<java.lang.String,​java.lang.Object> loadCartFromShoppingList​(DispatchContext dctx, java.util.Map<java.lang.String,​java.lang.Object> context)  
      static java.util.Map<java.lang.String,​java.lang.Object> prepareVendorShipGroups​(DispatchContext dctx, java.util.Map<java.lang.String,​java.lang.Object> context)  
      static java.util.Map<java.lang.String,​java.lang.Object> resetShipGroupItems​(DispatchContext dctx, java.util.Map<java.lang.String,​java.lang.Object> context)  
      static java.util.Map<java.lang.String,​java.lang.Object> setOtherOptions​(DispatchContext dctx, java.util.Map<java.lang.String,​java.lang.Object> context)  
      static java.util.Map<java.lang.String,​java.lang.Object> setPaymentOptions​(DispatchContext dctx, java.util.Map<java.lang.String,​java.lang.Object> context)  
      static java.util.Map<java.lang.String,​java.lang.Object> setShippingOptions​(DispatchContext dctx, java.util.Map<java.lang.String,​java.lang.Object> context)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • module

        public static final java.lang.String module
      • generalRounding

        public static final java.math.MathContext generalRounding
    • Constructor Detail

      • ShoppingCartServices

        public ShoppingCartServices()
    • Method Detail

      • assignItemShipGroup

        public static java.util.Map<java.lang.String,​java.lang.Object> assignItemShipGroup​(DispatchContext dctx,
                                                                                                 java.util.Map<java.lang.String,​java.lang.Object> context)
      • setShippingOptions

        public static java.util.Map<java.lang.String,​java.lang.Object> setShippingOptions​(DispatchContext dctx,
                                                                                                java.util.Map<java.lang.String,​java.lang.Object> context)
      • setPaymentOptions

        public static java.util.Map<java.lang.String,​java.lang.Object> setPaymentOptions​(DispatchContext dctx,
                                                                                               java.util.Map<java.lang.String,​java.lang.Object> context)
      • setOtherOptions

        public static java.util.Map<java.lang.String,​java.lang.Object> setOtherOptions​(DispatchContext dctx,
                                                                                             java.util.Map<java.lang.String,​java.lang.Object> context)
      • loadCartFromOrder

        public static java.util.Map<java.lang.String,​java.lang.Object> loadCartFromOrder​(DispatchContext dctx,
                                                                                               java.util.Map<java.lang.String,​java.lang.Object> context)
      • loadCartFromQuote

        public static java.util.Map<java.lang.String,​java.lang.Object> loadCartFromQuote​(DispatchContext dctx,
                                                                                               java.util.Map<java.lang.String,​java.lang.Object> context)
      • loadCartFromShoppingList

        public static java.util.Map<java.lang.String,​java.lang.Object> loadCartFromShoppingList​(DispatchContext dctx,
                                                                                                      java.util.Map<java.lang.String,​java.lang.Object> context)
      • getShoppingCartData

        public static java.util.Map<java.lang.String,​java.lang.Object> getShoppingCartData​(DispatchContext dctx,
                                                                                                 java.util.Map<java.lang.String,​java.lang.Object> context)
      • getShoppingCartItemIndex

        public static java.util.Map<java.lang.String,​java.lang.Object> getShoppingCartItemIndex​(DispatchContext dctx,
                                                                                                      java.util.Map<java.lang.String,​java.lang.Object> context)
      • resetShipGroupItems

        public static java.util.Map<java.lang.String,​java.lang.Object> resetShipGroupItems​(DispatchContext dctx,
                                                                                                 java.util.Map<java.lang.String,​java.lang.Object> context)
      • prepareVendorShipGroups

        public static java.util.Map<java.lang.String,​java.lang.Object> prepareVendorShipGroups​(DispatchContext dctx,
                                                                                                     java.util.Map<java.lang.String,​java.lang.Object> context)