Class LogisticsController

java.lang.Object
de.hybris.platform.chineselogisticocc.controllers.LogisticsController

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

  • Constructor Details

    • LogisticsController

      public LogisticsController()
  • Method Details

    • 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 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(Object object, String objectName, org.springframework.validation.Validator validator)