DeliveryFeePlanService.java 895 Bytes
package com.diligrp.rider.service;

import com.diligrp.rider.dto.DeliveryFeePlanPreviewDTO;
import com.diligrp.rider.dto.DeliveryFeePlanSaveDTO;
import com.diligrp.rider.vo.DeliveryFeePlanDetailVO;
import com.diligrp.rider.vo.DeliveryFeePlanVO;
import com.diligrp.rider.vo.DeliveryFeeResultVO;

import java.util.List;

public interface DeliveryFeePlanService {

    List<DeliveryFeePlanVO> listPlans(Long cityId);

    DeliveryFeePlanDetailVO getPlanDetail(Long cityId, Long planId);

    Long createPlan(Long cityId, DeliveryFeePlanSaveDTO dto);

    Long initializeDefaultPlan(Long cityId);

    void updatePlan(Long cityId, Long planId, DeliveryFeePlanSaveDTO dto);

    Long copyPlan(Long cityId, Long planId);

    void deletePlan(Long cityId, Long planId);

    void setDefaultPlan(Long cityId, Long planId);

    DeliveryFeeResultVO preview(Long cityId, DeliveryFeePlanPreviewDTO dto);
}