18 lines
543 B
C#
18 lines
543 B
C#
using LCU.Library.Internal.IncentiveApiModels.Enums;
|
|
using LCU.API.Internal.Operations.IncentiveApi.Models.Payout;
|
|
using LCU.Library.Internal.IncentiveApiModels.Entities;
|
|
|
|
namespace LCU.API.Internal.Operations.IncentiveApi.Services.Payout;
|
|
|
|
public interface IPayoutStrategy
|
|
{
|
|
bool CanPayoutProduct(Product product);
|
|
|
|
IReadOnlyCollection<PayoutLineItem> CalculateLineItems(
|
|
DepartmentPayout payoutPlan,
|
|
UserDepartment userDepartment,
|
|
List<PayoutProfile> departmentPayouts,
|
|
ProductDetail product
|
|
);
|
|
}
|