using CashLineERP.Contracts.IslamicFinance;

namespace CashLineERP.Application.IslamicFinance.PartnerLenders;

public interface IIslamicFinancePartnerService
{
    IReadOnlyCollection<IslamicFinancePartnerLenderResponse> GetPartnerLenders(bool activeOnly = false);
    IslamicFinancePartnerLenderResponse? GetPartnerLender(long partnerLenderId);
    IslamicFinancePartnerLenderResponse CreatePartnerLender(CreateIslamicFinancePartnerLenderRequest request);
    IslamicFinancePartnerLenderResponse SubmitPartnerLender(long partnerLenderId, long actorUserId);
    IslamicFinancePartnerLenderResponse ApprovePartnerLender(long partnerLenderId, long actorUserId);
    IslamicFinancePartnerLenderResponse ActivatePartnerLender(long partnerLenderId, long actorUserId);
}
