Interface DeliveryTimeSlotService
- All Known Implementing Classes:
DefaultChineseDeliveryTimeSlotService
public interface DeliveryTimeSlotService
Providing some services about DeliveryTimeSlot
-
Method Summary
Modifier and TypeMethodDescriptionGetting all of the DeliveryTimeSlotsGetting the DeliveryTimeSlot by codevoidsetDeliveryTimeSlot(CartModel cartModel, String deliveryTimeSlot) Setting the DeliveryTimeSlot into the cartmodel
-
Method Details
-
getAllDeliveryTimeSlots
List<DeliveryTimeSlotModel> getAllDeliveryTimeSlots()Getting all of the DeliveryTimeSlots- Returns:
- List
-
getDeliveryTimeSlotByCode
Getting the DeliveryTimeSlot by code- Parameters:
code- the code of the DeliveryTimeSlotModel- Returns:
- delivery timeslot model
-
setDeliveryTimeSlot
Setting the DeliveryTimeSlot into the cartmodel- Parameters:
cartModel- cart modeldeliveryTimeSlot- delivery timeslot
-