Class DefaultCheckoutFacade

    • Constructor Detail

      • DefaultCheckoutFacade

        public DefaultCheckoutFacade()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • setCostCenterForCart

        public <T extends AbstractOrderData> T setCostCenterForCart​(java.lang.String costCenterCode,
                                                                    java.lang.String orderCode)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: B2BCheckoutFacade
        Sets the cost center on all the entries of the order
        Specified by:
        setCostCenterForCart in interface B2BCheckoutFacade
        Parameters:
        costCenterCode - A unique identifier of a cost center, If null all entries of the order will be set with a null cost center
        orderCode - A unique identifier of an Order or Cart.
        Returns:
        Order data
      • getPaymentTypesForCheckoutSummary

        public java.util.List<B2BPaymentTypeData> getPaymentTypesForCheckoutSummary()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: B2BCheckoutFacade
        Gets the list of possible PaymentTypes for user selection in checkout summary
        Specified by:
        getPaymentTypesForCheckoutSummary in interface B2BCheckoutFacade
        Returns:
        B2BPaymentTypeEnum
      • getDaysOfWeekForReplenishmentCheckoutSummary

        public java.util.List<B2BDaysOfWeekData> getDaysOfWeekForReplenishmentCheckoutSummary()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: B2BCheckoutFacade
        Call the Enum service to fetch the list of days in a week using DayOfWeek enum
        Specified by:
        getDaysOfWeekForReplenishmentCheckoutSummary in interface B2BCheckoutFacade
        Returns:
        List of days in a week
      • setPaymentTypeSelectedForCheckout

        public boolean setPaymentTypeSelectedForCheckout​(java.lang.String paymentType)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: B2BCheckoutFacade
        Update the cartModel with PaymentTypeSelected by the user
        Specified by:
        setPaymentTypeSelectedForCheckout in interface B2BCheckoutFacade
        Returns:
        boolean
      • setDefaultPaymentTypeForCheckout

        public void setDefaultPaymentTypeForCheckout()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: B2BCheckoutFacade
        Sets the default payment type as Account for B2B accelerator store. Gets the CartModel object and sets the payment type to ACCOUNT
        Specified by:
        setDefaultPaymentTypeForCheckout in interface B2BCheckoutFacade
      • setPurchaseOrderNumber

        public boolean setPurchaseOrderNumber​(java.lang.String purchaseOrderNumber)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: B2BCheckoutFacade
        Sets the purchase order number to the cartModel
        Specified by:
        setPurchaseOrderNumber in interface B2BCheckoutFacade
        Parameters:
        purchaseOrderNumber - The PO number of the order.
        Returns:
        boolean
      • setQuoteRequestDescription

        public boolean setQuoteRequestDescription​(java.lang.String quoteRequestDescription)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: B2BCheckoutFacade
        Adds a quote request text to the CartModel
        Specified by:
        setQuoteRequestDescription in interface B2BCheckoutFacade
        Parameters:
        quoteRequestDescription - The text describing reasons for requesting a quote on this order.
        Returns:
        True if the data got added to the cart successfully else false.
      • getAbstractOrderForCode

        protected <T extends AbstractOrderModel> T getAbstractOrderForCode​(java.lang.String code)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • scheduleOrder

        public ScheduledCartData scheduleOrder​(TriggerData trigger)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: B2BCheckoutFacade
        Places the cart that's in the session as a scheduled order scheduled by the Trigger parameter
        Specified by:
        scheduleOrder in interface B2BCheckoutFacade
        Returns:
        ScheduledCartData created
      • createCartFromOrder

        public void createCartFromOrder​(java.lang.String orderCode)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: B2BCheckoutFacade
        Creates CartModel based on an order removes the current session carts and sets the new cart into the session.
        Specified by:
        createCartFromOrder in interface B2BCheckoutFacade
        Parameters:
        orderCode - The unique identifier for an order
      • setB2bCostCenterConverter

        public void setB2bCostCenterConverter​(Converter<B2BCostCenterModel,​B2BCostCenterData> b2bCostCenterConverter)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getB2BOrderService

        protected B2BOrderService getB2BOrderService()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setB2BOrderService

        public void setB2BOrderService​(B2BOrderService b2BOrderService)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getAbstractOrderGenericDao

        protected GenericDao<AbstractOrderModel> getAbstractOrderGenericDao()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setAbstractOrderGenericDao

        public void setAbstractOrderGenericDao​(GenericDao<AbstractOrderModel> abstractOrderGenericDao)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setB2bPaymentTypeDataConverter

        public void setB2bPaymentTypeDataConverter​(Converter<CheckoutPaymentType,​B2BPaymentTypeData> b2bPaymentTypeDataConverter)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getB2bCommentService

        protected B2BCommentService<AbstractOrderModel> getB2bCommentService()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setB2bCommentService

        public void setB2bCommentService​(B2BCommentService<AbstractOrderModel> b2bCommentService)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getB2bDaysOfWeekConverter

        protected Converter<DayOfWeek,​B2BDaysOfWeekData> getB2bDaysOfWeekConverter()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setB2bDaysOfWeekConverter

        public void setB2bDaysOfWeekConverter​(Converter<DayOfWeek,​B2BDaysOfWeekData> b2bDaysOfWeekConverter)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getTriggerPopulator

        protected Populator<TriggerData,​TriggerModel> getTriggerPopulator()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setTriggerPopulator

        public void setTriggerPopulator​(Populator<TriggerData,​TriggerModel> triggerPopulator)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getScheduleOrderService

        protected ScheduleOrderService getScheduleOrderService()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setScheduleOrderService

        public void setScheduleOrderService​(ScheduleOrderService scheduleOrderService)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getBaseSiteService

        protected BaseSiteService getBaseSiteService()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setBaseSiteService

        public void setBaseSiteService​(BaseSiteService baseSiteService)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getEventService

        protected EventService getEventService()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setEventService

        public void setEventService​(EventService eventService)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getCommerceCartService

        protected <T extends B2BCommerceCartService> T getCommerceCartService()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setCommerceCartService

        public <T extends B2BCommerceCartService> void setCommerceCartService​(T _commerceCartService)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getTriggerService

        protected TriggerService getTriggerService()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setTriggerService

        public void setTriggerService​(TriggerService triggerService)
        Deprecated, for removal: This API element is subject to removal in a future version.