24 lines
1.2 KiB
C#
24 lines
1.2 KiB
C#
using System.Text.Json;
|
|
using General_Ledger_Service.DTOs.Cheques;
|
|
using General_Ledger_Service.DTOs.Common;
|
|
|
|
namespace General_Ledger_Service.Interfaces.Services
|
|
{
|
|
public interface IChequeService
|
|
{
|
|
Task<ApiResponse> CreateChequeBookAsync(CreateChequeBookRequest request);
|
|
Task<ApiResponse> GetChequeBookByNoAsync(string chequeBookNo, string? expand);
|
|
Task<ApiResponse> ListChequeBooksAsync(ListChequeBooksRequest request);
|
|
|
|
Task<ApiResponse> IssueChequePageAsync(string chequeNo, IssueChequePageRequest request);
|
|
Task<ApiResponse> UpdateChequePageStatusAsync(string chequeNo, Dictionary<string, JsonElement> payload);
|
|
Task<ApiResponse> GetChequePageByNoAsync(string chequeNo);
|
|
Task<ApiResponse> ListChequePagesAsync(ListChequePagesRequest request);
|
|
|
|
Task<ApiResponse> CreateReceivedChequeAsync(CreateReceivedChequeRequest request);
|
|
Task<ApiResponse> UpdateReceivedChequeStatusAsync(long receivedChequeId, Dictionary<string, JsonElement> payload);
|
|
Task<ApiResponse> GetReceivedChequeByIdAsync(long receivedChequeId);
|
|
Task<ApiResponse> ListReceivedChequesAsync(ListReceivedChequesRequest request);
|
|
}
|
|
}
|