Class ChineseDeliveryMethodCheckoutStepController

  • All Implemented Interfaces:
    CheckoutStepController

    @Scope("tenant")
    @RequestMapping("/checkout/multi/delivery-method")
    public class ChineseDeliveryMethodCheckoutStepController
    extends DeliveryMethodCheckoutStepController
    Controller for the DeliveryMethodCheckoutStep of the checkout steps
    • Constructor Detail

      • ChineseDeliveryMethodCheckoutStepController

        public ChineseDeliveryMethodCheckoutStepController()
    • Method Detail

      • doSelectDeliveryMode

        @RequestMapping(value="/select",
                        method=POST)
        public java.lang.String doSelectDeliveryMode​(@RequestParam("delivery_method")
                                                     java.lang.String selectedDeliveryMethod,
                                                     @RequestParam("deliveryTimeSlot")
                                                     java.lang.String deliveryTimeSlot)
        This method gets called when the "Use Selected Delivery Method" button is clicked. It sets the selected delivery mode on the checkout facade and reloads the page highlighting the selected delivery Mode.
        Parameters:
        selectedDeliveryMethod - - the id of the delivery mode.
        Returns:
        - a URL to the page to load.