Class LogisticsController


  • @Controller
    @RequestMapping("/{baseSiteId}")
    public class LogisticsController
    extends java.lang.Object
    APIs for Chinese logistic.
    • Field Detail

      • DELIVERY_TIME_SLOT_OBJECT

        protected static final java.lang.String DELIVERY_TIME_SLOT_OBJECT
        See Also:
        Constant Field Values
    • Constructor Detail

      • LogisticsController

        public LogisticsController()
    • Method Detail

      • getDeliveryTimeSlot

        @ResponseBody
        @RequestMapping(value="/deliverytimeslots",
                        method=GET)
        public DeliveryTimeSlotListWsDTO getDeliveryTimeSlot()
      • replaceDeliveryTimeSlot

        @Secured({"ROLE_CUSTOMERGROUP","ROLE_CUSTOMERMANAGERGROUP","ROLE_TRUSTED_CLIENT","ROLE_GUEST"})
        @RequestMapping(value="/users/{userId}/carts/{cartId}/deliverytimeslot",
                        method=PUT)
        @ResponseStatus(OK)
        public void replaceDeliveryTimeSlot​(@RequestParam
                                            java.lang.String deliveryTimeSlotCode)
      • removeDeliveryTimeSlot

        @Secured({"ROLE_CUSTOMERGROUP","ROLE_CUSTOMERMANAGERGROUP","ROLE_TRUSTED_CLIENT","ROLE_GUEST"})
        @RequestMapping(value="/users/{userId}/carts/{cartId}/deliverytimeslot",
                        method=DELETE)
        @ResponseStatus(OK)
        public void removeDeliveryTimeSlot()
      • validate

        protected void validate​(java.lang.Object object,
                                java.lang.String objectName,
                                org.springframework.validation.Validator validator)