using TakeoutSaaS.Application.App.Stores.Dto;
using TakeoutSaaS.Domain.Stores.Entities;

namespace TakeoutSaaS.Application.App.Stores.Services;

/// <summary>
/// 门店费用计算服务。
/// </summary>
public interface IStoreFeeCalculationService
{
    /// <summary>
    /// 计算费用预览。
    /// </summary>
    /// <param name="fee">门店费用配置。</param>
    /// <param name="request">计算请求。</param>
    /// <returns>计算结果。</returns>
    StoreFeeCalculationResultDto Calculate(StoreFee fee, StoreFeeCalculationRequestDto request);
}
